DayZ 1.24
Loading...
Searching...
No Matches
AIBehaviourHLDataZombie2 Class Reference
Inheritance diagram for AIBehaviourHLDataZombie2:
[legend]
Collaboration diagram for AIBehaviourHLDataZombie2:
[legend]

Private Member Functions

void AIBehaviourHLDataZombie2 ()
 
void ~AIBehaviourHLDataZombie2 ()
 
override void OnParseConfig ()
 

Private Attributes

float m_fDamageToCrawl
 
float m_fCrawlProbability
 

Detailed Description

Definition at line 116 of file AIBehaviour.c.

Constructor & Destructor Documentation

◆ AIBehaviourHLDataZombie2()

void AIBehaviourHLDataZombie2::AIBehaviourHLDataZombie2 ( )
inlineprivate

Definition at line 121 of file AIBehaviour.c.

121{}

◆ ~AIBehaviourHLDataZombie2()

void AIBehaviourHLDataZombie2::~AIBehaviourHLDataZombie2 ( )
inlineprivate

Definition at line 122 of file AIBehaviour.c.

122{}

Member Function Documentation

◆ OnParseConfig()

override void AIBehaviourHLDataZombie2::OnParseConfig ( )
inlineprivate

Definition at line 124 of file AIBehaviour.c.

125 {
126 Print("zombie data parse config start");
127
128 ParseBehaviourSlot("Calm");
129 ParseBehaviourSlot("Attracted");
130 ParseBehaviourSlot("Disturbed");
131 ParseBehaviourSlot("Alerted");
132
133 ParseAlertLevel("Calm");
134 ParseAlertLevel("Disturbed");
135 ParseAlertLevel("Attracted");
136 ParseAlertLevel("Alerted");
137
138 m_fDamageToCrawl = ReadParamValue("damageToCrawl", 0.01);
139 m_fCrawlProbability = ReadParamValue("crawlProbability", 0.01);
140
141 Print("zombie data parse config end");
142 }
proto native void ParseBehaviourSlot(string name)
proto native float ReadParamValue(string paramName, float defValue)
proto native void ParseAlertLevel(string name)
proto void Print(void var)
Prints content of variable to console/log.

References m_fCrawlProbability, m_fDamageToCrawl, AIBehaviourHLData::ParseAlertLevel(), AIBehaviourHLData::ParseBehaviourSlot(), Print(), and AIBehaviourHLData::ReadParamValue().

Member Data Documentation

◆ m_fCrawlProbability

float AIBehaviourHLDataZombie2::m_fCrawlProbability
private

Definition at line 119 of file AIBehaviour.c.

Referenced by OnParseConfig().

◆ m_fDamageToCrawl

float AIBehaviourHLDataZombie2::m_fDamageToCrawl
private

Definition at line 118 of file AIBehaviour.c.

Referenced by OnParseConfig().


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