3 const float WORN = 0.5;
223 Error(
"Undefined Injury level");
enum eInjuryHandlerLevels MORPHINE
ref ScriptInvoker m_ChangedStateInvoker
ScriptInvoker GetInvoker()
float GetInjuryValue(eInjuryHandlerLevels level)
float m_InjuryAnimDamageValue
eInjuryHandlerLevels GetOverrideLevel(eInjuryHandlerLevels unchanged_level)
eInjuryHandlerLevels m_LastHealthUpdate
const float SENSITIVTY_PERCENTAGE
void CheckValue(bool forceUpdate=false)
enum eInjuryHandlerLevels PAIN_KILLERS_LVL0
void SetInjuryCommandParams(bool enable, eInjuryHandlerLevels level)
float GetInjuryAnimValue()
enum eInjuryHandlerLevels VALUE_CHECK_INTERVAL
enum eInjuryHandlerLevels PRONE_ANIM_OVERRIDE
enum eInjuryHandlerLevels BROKEN_LEGS
void InjuryAnimationHandler(PlayerBase player)
float m_TimeSinceLastTick
bool IsInjuryAnimEnabled()
enum eInjuryHandlerLevels PAIN_KILLERS_LVL1
int m_ForceInjuryAnimMask
bool m_AnimationChange
owner
enum eInjuryHandlerLevels NONE
MUST BE POW2.
eInjuryHandlerLevels GetInjuryLevel(float health)
void SendValue(eInjuryHandlerLevels level)
enum eInjuryHandlerLevels BROKEN_LEGS_SPLINT
static void SendInjury(DayZPlayer pPlayer, bool pEnable, eInjuryHandlerLevels level)
const float BADLY_DAMAGED
static const float BROKEN_LEGS_HIGH_HEALTH_THRESHOLD
static const float BROKEN_LEGS_LOW_HEALTH_THRESHOLD
ScriptInvoker Class provide list of callbacks usage:
proto native CGame GetGame()
void Error(string err)
Messagebox with error message.