3 const int COUGH_BLOOD_LOSS = 50;
10 m_DestroyOnAnimFinish =
true;
11 m_SyncToClient =
false;
32 if (IsContaminationActive())
54 if (IsContaminationActive())
55 player.AddHealth(
"",
"Blood", -COUGH_BLOOD_LOSS);
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
ModifiersManager m_Manager
PluginBase GetPlugin(typename plugin_type)
override void OnGetActivatedClient(PlayerBase player)
gets called once on a Symptom which is being activated
override void OnAnimationStart()
override SmptAnimMetaBase SpawnAnimMetaObject()
override void OnGetActivatedServer(PlayerBase player)
gets called once on an Symptom which is being activated
override void OnGetDeactivatedServer(PlayerBase player)
only gets called once on an active Symptom that is being deactivated
override void OnUpdateClient(PlayerBase player, float deltatime)
override void OnUpdateServer(PlayerBase player, float deltatime)
gets called every frame
override void OnGetDeactivatedClient(PlayerBase player)
only gets called once on an active Symptom that is being deactivated
bool IsContaminationActive()
DayZPlayerConstants
defined in C++