DayZ
1.24
Loading...
Searching...
No Matches
ActionEatVitaminBottle.c
Go to the documentation of this file.
1
class
ActionEatVitaminBottle
:
ActionConsume
2
{
3
void
ActionEatVitaminBottle
()
4
{
5
m_CommandUID
=
DayZPlayerConstants
.CMD_ACTIONMOD_EAT;
6
m_CommandUIDProne
=
DayZPlayerConstants
.CMD_ACTIONFB_EAT;
7
}
8
9
override
int
IsEat
()
10
{
11
return
true
;
12
}
13
14
override
void
ApplyModifiers
(
ActionData
action_data
)
15
{
16
//action_data.m_Player.m_ModifiersManager.ActivateModifier(eModifiers.MDF_CHEMICALPOISON);
17
}
18
};
ActionConsume
Definition
ActionConsume.c:10
ActionData
Definition
ActionBase.c:21
ActionEatVitaminBottle
Definition
ActionEatVitaminBottle.c:2
ActionEatVitaminBottle::ApplyModifiers
override void ApplyModifiers(ActionData action_data)
Definition
ActionEatVitaminBottle.c:14
ActionEatVitaminBottle::IsEat
override int IsEat()
Definition
ActionEatVitaminBottle.c:9
ActionEatVitaminBottle::ActionEatVitaminBottle
void ActionEatVitaminBottle()
Definition
ActionEatVitaminBottle.c:3
AnimatedActionBase::m_CommandUID
int m_CommandUID
Definition
AnimatedActionBase.c:122
AnimatedActionBase::m_CommandUIDProne
int m_CommandUIDProne
Definition
AnimatedActionBase.c:123
Param3
Definition
EntityAI.c:95
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:597
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
Medical
ActionEatVitaminBottle.c
Generated by
1.10.0