Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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 }
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