Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionforcedrink.c
Go to the documentation of this file.
8
10{
12 {
13 m_CallbackClass = ActionForceDrinkCB;
14 m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_EMPTY_VESSEL;
15 m_FullBody = true;
16 m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
17 m_Text = "#give_drink";
18 }
19
21 {
22 m_ConditionTarget = new CCTMan(UAMaxDistances.DEFAULT);
23 m_ConditionItem = new CCINonRuined;
24 }
25
26 override protected void PlaySound(PlayerBase player)
27 {
28 if (player)
29 player.RequestSoundEventEx(EPlayerSoundEventID.FORCE_DRINK);
30 }
31};
32
33
int m_CommandUID
Definition actionbase.c:31
int m_StanceMask
Definition actionbase.c:33
void ActionForceConsume()
ActionData m_ActionData
override void CreateActionComponent()
override void CreateConditionComponents()
void PlaySound(PlayerBase player)
Definition cctman.c:2
const float DEFAULT
const float DEFAULT
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602