DayZ
1.24
Loading...
Searching...
No Matches
AreaDamageOneTimeRaycastedDeferred.c
Go to the documentation of this file.
1
// DEPRECATED: Left for backwards compatibility with mods
2
class
AreaDamageOneTimeRaycastedDeferred
extends
AreaDamageBase
3
{
4
void
AreaDamageOneTimeRaycastedDeferred
(
EntityAI
parent)
5
{
6
7
}
8
9
void
~AreaDamageOneTimeRaycastedDeferred
() {}
10
11
override
void
SetDeferDuration
(
float
time
)
12
{
13
m_DeferDuration
=
time
;
14
}
15
16
override
void
SetRaycastSources
(
array<string>
raycast_sources
)
17
{
18
m_RaycastSources =
raycast_sources
;
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
AreaDamageOneTimeRaycastedDeferred.c:21
AreaDamageBase::~AreaDamageOneTimeRaycastedDeferred
void ~AreaDamageOneTimeRaycastedDeferred()
Definition
AreaDamageOneTimeRaycastedDeferred.c:9
AreaDamageBase::AreaDamageOneTimeRaycastedDeferred
void AreaDamageOneTimeRaycastedDeferred(EntityAI parent)
Definition
AreaDamageOneTimeRaycastedDeferred.c:4
AreaDamageBase::EvaluateDamage_Defer
void EvaluateDamage_Defer(Object object)
Definition
AreaDamage.c:81
AreaDamageBase::SetDeferDuration
override void SetDeferDuration(float time)
Definition
AreaDamageOneTimeRaycastedDeferred.c:11
AreaDamageBase::SetRaycastSources
override void SetRaycastSources(array< string > raycast_sources)
Definition
AreaDamageOneTimeRaycastedDeferred.c:16
EntityAI
Definition
Building.c:6
Object
Definition
ObjectTyped.c:2
Param3
Definition
EntityAI.c:95
scripts
4_World
Classes
AreaDamage
AreaDamageOneTimeRaycastedDeferred.c
Generated by
1.10.0