Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
HeavyMetalPhase2Mdfr Class Reference
Inheritance diagram for HeavyMetalPhase2Mdfr:
HeavyMetalMdfr

Protected Member Functions

bool ActivateCondition (PlayerBase player)
bool DeactivateCondition (PlayerBase player)
void OnTick (PlayerBase player, float deltaT)

Private Member Functions

override string GetDebugText ()
override void Init ()
Private Member Functions inherited from HeavyMetalMdfr
override void Init ()
void OnActivate (PlayerBase player)
void OnDeactivate (PlayerBase player)

Static Private Attributes

static const int AGENT_THRESHOLD_ACTIVATE = 200
static const int AGENT_THRESHOLD_DEACTIVATE = 400
static const int DEAFNESS_INTERVAL = 3
static const int PAIN_EVENT_INTERVAL_MAX = 40
static const int PAIN_EVENT_INTERVAL_MIN = 20

Additional Inherited Members

Private Attributes inherited from HeavyMetalMdfr
float m_DeafnessTime
bool m_IsDeaf
float m_NextEvent
float m_Time

Detailed Description

Definition at line 91 of file heavymetal.c.

Member Function Documentation

◆ ActivateCondition()

bool ActivateCondition ( PlayerBase player)
inlineprotected

Definition at line 113 of file heavymetal.c.

References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.

◆ DeactivateCondition()

bool DeactivateCondition ( PlayerBase player)
inlineprotected

Definition at line 118 of file heavymetal.c.

References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

Definition at line 108 of file heavymetal.c.

References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.

◆ Init()

override void Init ( )
inlineprivate

Definition at line 101 of file heavymetal.c.

References m_ID.

◆ OnTick()

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 200
staticprivate

Definition at line 93 of file heavymetal.c.

Referenced by ActivateCondition(), DeactivateCondition(), and GetDebugText().

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 400
staticprivate

Definition at line 94 of file heavymetal.c.

Referenced by ActivateCondition(), DeactivateCondition(), and GetDebugText().

◆ DEAFNESS_INTERVAL

const int DEAFNESS_INTERVAL = 3
staticprivate

Definition at line 99 of file heavymetal.c.

Referenced by OnTick().

◆ PAIN_EVENT_INTERVAL_MAX

const int PAIN_EVENT_INTERVAL_MAX = 40
staticprivate

Definition at line 97 of file heavymetal.c.

Referenced by OnTick().

◆ PAIN_EVENT_INTERVAL_MIN

const int PAIN_EVENT_INTERVAL_MIN = 20
staticprivate

Definition at line 96 of file heavymetal.c.

Referenced by OnTick().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/playermodifiers/modifiers/diseases/heavymetal.c