Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
areadamageonetime.c
Go to the documentation of this file.
1 // DEPRECATED: Left for backwards compatibility with mods
2 class AreaDamageOneTime extends AreaDamageBase
3 {
4  void AreaDamageOneTime(EntityAI parent)
5  {
6 
7  }
8 
9  void ~AreaDamageOneTime() {}
10 
11  override void SetHitZones( array<string> hitzones )
12  {
13  m_HitZones = hitzones;
14  }
15 
16  override void OnEnterServer(Object object)
17  {
18  super.OnEnterServer(object);
19 
20  EvaluateDamage(object);
21  }
22 }
Object
Definition: objecttyped.c:1
array< string >
SetHitZones
void SetHitZones(array< string > hitzones)
Definition: areadamagemanager.c:341
AreaDamageBase
Definition: areadamage.c:3
EntityAI
Definition: building.c:5