DayZ 1.24
Loading...
Searching...
No Matches
ZombieMaleBase Class Reference

Base class for eatch Infected type. More...

Protected Member Functions

override void EEInit ()
 
void ~ZmbM_Mummy ()
 
override void OnDamageDestroyed (int oldLevel)
 
void ChangeVisual ()
 
override bool ResistContaminatedEffect ()
 

Protected Attributes

ZombieMummyLight m_EyeLight
 

Private Member Functions

override bool IsZombieMilitary ()
 
override bool IsZombieMilitary ()
 
override bool IsZombieMilitary ()
 
override bool IsZombieMilitary ()
 
override bool ResistContaminatedEffect ()
 
override bool ResistContaminatedEffect ()
 
override bool IsZombieMilitary ()
 

Detailed Description

Base class for eatch Infected type.

Definition at line 16 of file ZombieMaleBase.c.

Constructor & Destructor Documentation

◆ ~ZmbM_Mummy()

void ZombieMaleBase::~ZmbM_Mummy ( )
inlineprotected

Definition at line 228 of file ZombieMaleBase.c.

229 {
230 if (m_EyeLight)
231 m_EyeLight.Destroy();
232 }
ZombieMummyLight m_EyeLight

References m_EyeLight.

Member Function Documentation

◆ ChangeVisual()

void ZombieMaleBase::ChangeVisual ( )
inlineprotected

Definition at line 241 of file ZombieMaleBase.c.

242 {
243 int index = GetHiddenSelectionIndex("camo");
244
245 SetObjectMaterial(index, "dz\\characters\\zombies\data\\Mummy_dead.rvmat");
246 SetObjectTexture(index, "dz\\characters\\zombies\\data\\Mummy_dead_CO.paa");
247 }

◆ EEInit()

override void ZombieMaleBase::EEInit ( )
inlineprotected

Definition at line 222 of file ZombieMaleBase.c.

223 {
224 if (!IsDamageDestroyed())//walking up to or connecting to already dead zombies check
225 m_EyeLight = ZombieMummyLight.Cast(ScriptedLightBase.CreateLightAtObjMemoryPoint(ZombieMummyLight, this, "MummyLight"));
226 }
bool IsDamageDestroyed(ActionTarget target)
Definition ActionBase.c:841

References IsDamageDestroyed(), and m_EyeLight.

◆ IsZombieMilitary() [1/5]

override bool ZombieMaleBase::IsZombieMilitary ( )
inlineprivate

Definition at line 130 of file ZombieMaleBase.c.

131 {
132 return true;
133 }

◆ IsZombieMilitary() [2/5]

override bool ZombieMaleBase::IsZombieMilitary ( )
inlineprivate

Definition at line 162 of file ZombieMaleBase.c.

163 {
164 return true;
165 }

◆ IsZombieMilitary() [3/5]

override bool ZombieMaleBase::IsZombieMilitary ( )
inlineprivate

Definition at line 170 of file ZombieMaleBase.c.

171 {
172 return true;
173 }

◆ IsZombieMilitary() [4/5]

override bool ZombieMaleBase::IsZombieMilitary ( )
inlineprivate

Definition at line 182 of file ZombieMaleBase.c.

183 {
184 return true;
185 }

◆ IsZombieMilitary() [5/5]

override bool ZombieMaleBase::IsZombieMilitary ( )
inlineprivate

Definition at line 211 of file ZombieMaleBase.c.

212 {
213 return true;
214 }

◆ OnDamageDestroyed()

override void ZombieMaleBase::OnDamageDestroyed ( int oldLevel)
inlineprotected

Definition at line 233 of file ZombieMaleBase.c.

234 {
235 if (m_EyeLight)
236 m_EyeLight.FadeOut(15);
237
238 GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(ChangeVisual, 1000);
239 }
proto native CGame GetGame()
const int CALL_CATEGORY_SYSTEM
Definition tools.c:8

References CALL_CATEGORY_SYSTEM, GetGame(), and m_EyeLight.

◆ ResistContaminatedEffect() [1/3]

override bool ZombieMaleBase::ResistContaminatedEffect ( )
inlineprivate

Definition at line 198 of file ZombieMaleBase.c.

199 {
200 return true;
201 }

◆ ResistContaminatedEffect() [2/3]

override bool ZombieMaleBase::ResistContaminatedEffect ( )
inlineprivate

Definition at line 206 of file ZombieMaleBase.c.

207 {
208 return true;
209 }

◆ ResistContaminatedEffect() [3/3]

override bool ZombieMaleBase::ResistContaminatedEffect ( )
inlineprotected

Definition at line 250 of file ZombieMaleBase.c.

251 {
252 return true;
253 }

Member Data Documentation

◆ m_EyeLight

ZombieMummyLight ZombieMaleBase::m_EyeLight
protected

Definition at line 220 of file ZombieMaleBase.c.


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