DayZ
1.24
Loading...
Searching...
No Matches
ActionTakeABiteCan.c
Go to the documentation of this file.
1
class
ActionTakeABiteCan
:
ActionTakeABite
2
{
3
override
bool
ActionCondition
(
PlayerBase
player
, ActionTarget
target
,
ItemBase
item
)
4
{
5
return
false
;
6
/*
7
//if staging for cans is introduced
8
if ( action_data.m_MainItem && action_data.m_MainItem.IsOpen() )
9
{
10
return true;
11
}
12
return false;
13
*/
14
}
15
};
ActionTakeABiteCan
Definition
ActionTakeABiteCan.c:2
ActionTakeABiteCan::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Definition
ActionTakeABiteCan.c:3
ActionTakeABite
Definition
ActionTakeABite.c:12
ItemBase
Definition
InventoryItem.c:697
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
scripts
4_World
Classes
UserActionsComponent
Actions
SingleUse
ActionTakeABiteCan.c
Generated by
1.10.0