Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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
};
ItemBase
Definition:
inventoryitem.c:730
ActionTakeABiteCan
Definition:
actiontakeabitecan.c:1
PlayerBase
Definition:
playerbaseclient.c:1
ActionTarget
class ActionTargets ActionTarget
ActionTakeABite
Definition:
actiontakeabite.c:11
DAYZ
scripts_v1.24.157551
scripts
world
classes
useractionscomponent
actions
singleuse
actiontakeabitecan.c
Generated by
1.8.17