Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
areadamageregulardeferred.c
Go to the documentation of this file.
1
// DEPRECATED: Left for backwards compatibility with mods
2
class
AreaDamageRegularDeferred
extends
AreaDamageRegular
3
{
4
void
AreaDamageRegularDeferred(
EntityAI
parent)
5
{
6
7
}
8
9
void
~AreaDamageRegularDeferred() {}
10
11
override
void
SetLoopInterval
(
float
time)
12
{
13
m_LoopInterval = time;
14
}
15
16
override
void
SetDeferDuration
(
float
time)
17
{
18
m_DeferDuration
= time;
19
}
20
21
override
void
SetHitZones
(
array<string>
hitzones )
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
}
SetLoopInterval
void SetLoopInterval(float time)
Definition:
areadamagemanager.c:331
AreaDamageRegular
Definition:
areadamageregulardeferred.c:2
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
EntityAI
Definition:
building.c:5
DAYZ
scripts_v1.24.157551
scripts
world
classes
areadamage
areadamageregulardeferred.c
Generated by
1.8.17