Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
areadamageonetime.c
Go to the documentation of this file.
1// DEPRECATED: Left for backwards compatibility with mods
2class 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}
void SetHitZones(array< string > hitzones)
void OnEnterServer(Object object)
Definition areadamage.c:60
void EvaluateDamage(Object object)
Definition areadamage.c:103
Result for an object found in CGame.IsBoxCollidingGeometryProxy.