DayZ 1.24
Loading...
Searching...
No Matches
VomitStuffed.c
Go to the documentation of this file.
2{
10
11 override void OnTick(PlayerBase player, float deltaT)
12 {
13
14 }
15
17 {
18 float stomach = m_Player.m_PlayerStomach.GetStomachVolume();
20 return true;
21 else
22 return false;
23 }
24
26 {
27 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT);
28 }
29
30
32 {
34 }
35};
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
DayZPlayer m_Player
Definition Hand_Events.c:42
bool m_TrackActivatedTime
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
const int DEFAULT_TICK_TIME_ACTIVE
const int VOMIT_THRESHOLD
last User Action message lifetime [s] (default: 30s)
override bool ActivateCondition(PlayerBase player)
override void OnActivate(PlayerBase player)
override bool DeactivateCondition(PlayerBase player)
override void OnTick(PlayerBase player, float deltaT)
override void Init()
Definition VomitStuffed.c:3
eModifiers
Definition eModifiers.c:2