DayZ 1.24
Loading...
Searching...
No Matches
AreaDamageRegularDeferred.c
Go to the documentation of this file.
1// DEPRECATED: Left for backwards compatibility with mods
2class AreaDamageRegularDeferred extends AreaDamageRegular
3{
5 {
6
7 }
8
10
11 override void SetLoopInterval(float time)
12 {
13 m_LoopInterval = time;
14 }
15
16 override void SetDeferDuration(float time)
17 {
19 }
20
22 {
23 m_HitZones = hitzones;
24 }
25
26 override void OnEnterServer(Object object)
27 {
28 super.OnEnterServer(object);
29
30 EvaluateDamage_DeferLoop(object);
31 }
32}
AreaDamageOnce m_DeferDuration
Time the damage should be deferred in seconds.
void AreaDamageRegularDeferred(EntityAI parent)
override void OnEnterServer(Object object)
override void SetDeferDuration(float time)
override void SetLoopInterval(float time)
override void SetHitZones(array< string > hitzones)