DayZ
1.24
Loading...
Searching...
No Matches
AreaDamageOneTimeDeferred.c
Go to the documentation of this file.
1
// DEPRECATED: Left for backwards compatibility with mods
2
class
AreaDamageOneTimeDeferred
extends
AreaDamageBase
3
{
4
void
AreaDamageOneTimeDeferred
(
EntityAI
parent)
5
{
6
7
}
8
9
void
~AreaDamageOneTimeDeferred
() {}
10
11
override
void
SetDeferDuration
(
float
time
)
12
{
13
m_DeferDuration
=
time
;
14
}
15
16
override
void
SetHitZones
(
array<string>
hitzones
)
17
{
18
m_HitZones =
hitzones
;
19
}
20
21
override
void
OnEnterServer
(
Object
object
)
22
{
23
super
.OnEnterServer(
object
);;
24
25
EvaluateDamage_Defer
(
object
);
26
}
27
}
m_DeferDuration
AreaDamageOnce m_DeferDuration
Time the damage should be deferred in seconds.
AreaDamageBase
Definition
AreaDamage.c:4
AreaDamageBase::OnEnterServer
override void OnEnterServer(Object object)
Definition
AreaDamageOneTimeDeferred.c:21
AreaDamageBase::~AreaDamageOneTimeDeferred
void ~AreaDamageOneTimeDeferred()
Definition
AreaDamageOneTimeDeferred.c:9
AreaDamageBase::EvaluateDamage_Defer
void EvaluateDamage_Defer(Object object)
Definition
AreaDamage.c:81
AreaDamageBase::SetDeferDuration
override void SetDeferDuration(float time)
Definition
AreaDamageOneTimeDeferred.c:11
AreaDamageBase::SetHitZones
override void SetHitZones(array< string > hitzones)
Definition
AreaDamageOneTimeDeferred.c:16
AreaDamageBase::AreaDamageOneTimeDeferred
void AreaDamageOneTimeDeferred(EntityAI parent)
Definition
AreaDamageOneTimeDeferred.c:4
EntityAI
Definition
Building.c:6
Object
Definition
ObjectTyped.c:2
Param3
Definition
EntityAI.c:95
scripts
4_World
Classes
AreaDamage
AreaDamageOneTimeDeferred.c
Generated by
1.10.0