DayZ
1.24
Loading...
Searching...
No Matches
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
}
m_DeferDuration
AreaDamageOnce m_DeferDuration
Time the damage should be deferred in seconds.
AreaDamageRegular
Definition
AreaDamageRegularDeferred.c:3
AreaDamageRegular::AreaDamageRegularDeferred
void AreaDamageRegularDeferred(EntityAI parent)
Definition
AreaDamageRegularDeferred.c:4
AreaDamageRegular::OnEnterServer
override void OnEnterServer(Object object)
Definition
AreaDamageRegularDeferred.c:26
AreaDamageRegular::SetDeferDuration
override void SetDeferDuration(float time)
Definition
AreaDamageRegularDeferred.c:16
AreaDamageRegular::~AreaDamageRegularDeferred
void ~AreaDamageRegularDeferred()
Definition
AreaDamageRegularDeferred.c:9
AreaDamageRegular::SetLoopInterval
override void SetLoopInterval(float time)
Definition
AreaDamageRegularDeferred.c:11
AreaDamageRegular::SetHitZones
override void SetHitZones(array< string > hitzones)
Definition
AreaDamageRegularDeferred.c:21
EntityAI
Definition
Building.c:6
Object
Definition
ObjectTyped.c:2
Param3
Definition
EntityAI.c:95
scripts
4_World
Classes
AreaDamage
AreaDamageRegularDeferred.c
Generated by
1.10.0