DayZ Scripts
PC Stable v1.25.158593
 
Loading...
Searching...
No Matches
WoundInfectStage1Mdfr Class Reference

Private Member Functions

override void Init ()
 
override string GetDebugText ()
 
override protected bool ActivateCondition (PlayerBase player)
 
override protected void OnActivate (PlayerBase player)
 
override protected void OnDeactivate (PlayerBase player)
 
override protected bool DeactivateCondition (PlayerBase player)
 
override protected void OnTick (PlayerBase player, float deltaT)
 

Private Attributes

protected float m_NextEvent
 
protected float m_Time
 

Static Private Attributes

static const int AGENT_THRESHOLD_ACTIVATE = 1
 
static const int AGENT_THRESHOLD_DEACTIVATE = 250
 
static const int AGENT_THRESHOLD_FEVER = 250
 
static const int PAIN_EVENT_INTERVAL_MIN = 18
 
static const int PAIN_EVENT_INTERVAL_MAX = 26
 

Member Function Documentation

◆ ActivateCondition()

override protected bool ActivateCondition ( PlayerBase  player)
inlineprivate

References AGENT_THRESHOLD_ACTIVATE.

Referenced by DeactivateCondition().

◆ DeactivateCondition()

override protected bool DeactivateCondition ( PlayerBase  player)
inlineprivate

References ActivateCondition().

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

◆ Init()

◆ OnActivate()

override protected void OnActivate ( PlayerBase  player)
inlineprivate

◆ OnDeactivate()

override protected void OnDeactivate ( PlayerBase  player)
inlineprivate

◆ OnTick()

override protected void OnTick ( PlayerBase  player,
float  deltaT 
)
inlineprivate

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 1
staticprivate

Referenced by ActivateCondition(), and GetDebugText().

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 250
staticprivate

Referenced by GetDebugText().

◆ AGENT_THRESHOLD_FEVER

const int AGENT_THRESHOLD_FEVER = 250
staticprivate

◆ m_NextEvent

protected float m_NextEvent
private

Referenced by OnActivate(), and OnTick().

◆ m_Time

protected float m_Time
private

Referenced by OnTick().

◆ PAIN_EVENT_INTERVAL_MAX

const int PAIN_EVENT_INTERVAL_MAX = 26
staticprivate

Referenced by OnActivate(), and OnTick().

◆ PAIN_EVENT_INTERVAL_MIN

const int PAIN_EVENT_INTERVAL_MIN = 18
staticprivate

Referenced by OnActivate(), and OnTick().


The documentation for this class was generated from the following file: