DayZ 1.24
|
Protected Member Functions | |
override void | Init () |
override string | GetDebugText () |
bool | ActivateCondition (PlayerBase player) |
void | OnActivate (PlayerBase player) |
void | OnDeactivate (PlayerBase player) |
bool | DeactivateCondition (PlayerBase player) |
void | OnTick (PlayerBase player, float deltaT) |
Protected Attributes | |
float | m_NextEvent |
float | m_Time |
Static Private Attributes | |
static const int | AGENT_THRESHOLD_ACTIVATE = 250 |
static const int | AGENT_THRESHOLD_DEACTIVATE = 0 |
static const int | PAIN_EVENT_INTERVAL_MIN = 6 |
static const int | PAIN_EVENT_INTERVAL_MAX = 12 |
static const float | DAMAGE_PER_SEC = 0.04 |
Definition at line 1 of file WoundInfection2.c.
|
inlineprotected |
Definition at line 29 of file WoundInfection2.c.
References AGENT_THRESHOLD_ACTIVATE.
|
inlineprotected |
Definition at line 57 of file WoundInfection2.c.
References AGENT_THRESHOLD_DEACTIVATE.
Definition at line 24 of file WoundInfection2.c.
References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.
Definition at line 15 of file WoundInfection2.c.
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_ID, m_SyncID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprotected |
Definition at line 37 of file WoundInfection2.c.
References m_NextEvent, PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, CachedObjectsParams::PARAM1_INT, and Math::RandomFloatInclusive().
|
inlineprotected |
Definition at line 51 of file WoundInfection2.c.
|
inlineprotected |
Definition at line 65 of file WoundInfection2.c.
References DAMAGE_PER_SEC, m_NextEvent, m_Time, PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, and Math::RandomFloatInclusive().
Definition at line 3 of file WoundInfection2.c.
Referenced by ActivateCondition(), and GetDebugText().
Definition at line 4 of file WoundInfection2.c.
Referenced by DeactivateCondition(), and GetDebugText().
Definition at line 10 of file WoundInfection2.c.
Referenced by OnTick().
|
protected |
Definition at line 12 of file WoundInfection2.c.
Referenced by OnActivate(), and OnTick().
|
protected |
Definition at line 13 of file WoundInfection2.c.
Referenced by OnTick().
Definition at line 7 of file WoundInfection2.c.
Referenced by OnActivate(), and OnTick().
Definition at line 6 of file WoundInfection2.c.
Referenced by OnActivate(), and OnTick().