DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
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{
14 {
16 m_Sound = "EatingSoft_0";
17 //m_Animation = "eat";
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 {
30 }
31};
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
protected string m_Text
Definition ActionBase.c:49
class ActionTargets ActionTarget
EffectSound m_Sound
protected ActionData m_ActionData
ref CABase m_ActionComponent
Definition ActionBase.c:30
private const float QUANTITY_USED_PER_SEC2
override void CreateActionComponent()
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)