Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actiontakeabite.c
Go to the documentation of this file.
2{
3 private const float QUANTITY_USED_PER_SEC2 = 50;
4
5 override void CreateActionComponent()
6 {
8 }
9}
10
12{
13 void ActionTakeABite()
14 {
15 m_CallbackClass = ActionTakeABiteCB;
17 m_Sound = "EatingSoft_0";
18 m_Text = "#take_a_bite";
19 }
20
21 override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
22 {
23 return false;
24 }
25
27 {
28 m_ConditionItem = new CCINonRuined();
29 m_ConditionTarget = new CCTSelf();
30 }
31}
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
ActionTakeABiteCB ActionSingleUseBaseCB ActionTakeABite()
class ActionTargets ActionTarget
ActionData m_ActionData
override void CreateActionComponent()
const float QUANTITY_USED_PER_SEC2
EffectSound m_Sound