Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
areadamageonetimedeferred.c
Go to the documentation of this file.
1 // DEPRECATED: Left for backwards compatibility with mods
2 class AreaDamageOneTimeDeferred extends AreaDamageBase
3 {
4  void AreaDamageOneTimeDeferred(EntityAI parent)
5  {
6 
7  }
8 
9  void ~AreaDamageOneTimeDeferred() {}
10 
11  override void SetDeferDuration(float time)
12  {
13  m_DeferDuration = time;
14  }
15 
16  override void SetHitZones( array<string> hitzones )
17  {
18  m_HitZones = hitzones;
19  }
20 
21  override void OnEnterServer(Object object)
22  {
23  super.OnEnterServer(object);;
24 
25  EvaluateDamage_Defer(object);
26  }
27 }
Object
Definition: objecttyped.c:1
m_DeferDuration
AreaDamageOnce m_DeferDuration
Time the damage should be deferred in seconds.
array< string >
SetHitZones
void SetHitZones(array< string > hitzones)
Definition: areadamagemanager.c:341
SetDeferDuration
void SetDeferDuration(float time)
Definition: areadamagemanager.c:336
AreaDamageBase
Definition: areadamage.c:3
EntityAI
Definition: building.c:5