DayZ 1.24
|
Deferred version of AreaDamageLooped. More...
Protected Member Functions | |
override void | SetDeferDuration (float time) |
float | CalculateDamageScale (TriggerInsider insider, float deltaTime) |
Protected Attributes | |
float | m_DeferDuration = 1.0 |
Time the damage should be deferred in seconds. | |
Additional Inherited Members | |
Private Member Functions inherited from AreaDamageLooped | |
void | AreaDamageLooped (EntityAI parent, bool loopByObject=true) |
override void | OnTriggerCreated () |
Gets called when the trigger is spawned, so is the start and also a reset. | |
override void | SetLoopInterval (float time) |
override void | OnEnterServerEvent (TriggerInsider insider) |
override void | OnStayStartServerEvent (int nrOfInsiders) |
override void | OnStayServerEvent (TriggerInsider insider, float deltaTime) |
override void | OnStayFinishServerEvent () |
float | CalculateDamageScale (TriggerInsider insider, float deltaTime) |
Private Attributes inherited from AreaDamageLooped | |
float | m_CurrentTime = 0.0 |
Current start time in seconds. | |
float | m_PreviousTime = 0.0 |
Previous start time in seconds. | |
float | m_AccumulatedTime = 0.0 |
How much time has accumulated. | |
float | m_LoopInterval = 1.0 |
Loop interval in seconds. | |
int | m_AmountOfLoops = 0 |
Caching of the amount of loops that will be performed in this frame. | |
bool | m_LoopByObject = true |
Decides if the looping will be using the Object as reference or the time since last update loop. | |
Deferred version of AreaDamageLooped.
Definition at line 2 of file AreaDamageLoopedDeferred.c.
|
inlineprotected |
Definition at line 12 of file AreaDamageLoopedDeferred.c.
References TriggerInsider::lastUpdated, m_DeferDuration, and TriggerInsider::timeEntered.
Definition at line 7 of file AreaDamageLoopedDeferred.c.
References m_DeferDuration.
|
protected |
Time the damage should be deferred in seconds.
Definition at line 5 of file AreaDamageLoopedDeferred.c.
Referenced by CalculateDamageScale(), and SetDeferDuration().