Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
areadamageregularraycasteddeferred.c
Go to the documentation of this file.
1 // DEPRECATED: Left for backwards compatibility with mods
2 class AreaDamageRegularRaycastedDeferred extends AreaDamageBase
3 {
4  void AreaDamageRegularRaycastedDeferred(EntityAI parent)
5  {
6 
7  }
8 
9  void ~AreaDamageRegularRaycastedDeferred() {}
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 SetRaycastSources( array<string> raycast_sources )
22  {
23  m_RaycastSources = raycast_sources;
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
SetRaycastSources
void SetRaycastSources(array< string > raycast_sources)
Definition: areadamagemanager.c:350
Object
Definition: objecttyped.c:1
m_DeferDuration
AreaDamageOnce m_DeferDuration
Time the damage should be deferred in seconds.
array< string >
SetDeferDuration
void SetDeferDuration(float time)
Definition: areadamagemanager.c:336
AreaDamageBase
Definition: areadamage.c:3
EntityAI
Definition: building.c:5