DayZ 1.24
|
Protected Member Functions | |
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) |
Protected Attributes | |
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. | |
Definition at line 1 of file AreaDamageLooped.c.
|
inlineprotected |
Definition at line 18 of file AreaDamageLooped.c.
References m_LoopByObject.
|
inlineprotected |
Definition at line 74 of file AreaDamageLooped.c.
References m_AmountOfLoops, m_CurrentTime, m_LoopByObject, and m_LoopInterval.
|
inlineprotected |
Definition at line 37 of file AreaDamageLooped.c.
References m_LoopByObject, and OnEvaluateDamageEx().
Definition at line 65 of file AreaDamageLooped.c.
References m_AccumulatedTime, m_AmountOfLoops, and m_LoopInterval.
|
inlineprotected |
Definition at line 57 of file AreaDamageLooped.c.
References OnEvaluateDamageEx().
Definition at line 46 of file AreaDamageLooped.c.
References g_Game, m_AccumulatedTime, m_AmountOfLoops, m_CurrentTime, m_LoopInterval, and m_PreviousTime.
Gets called when the trigger is spawned, so is the start and also a reset.
Definition at line 24 of file AreaDamageLooped.c.
References g_Game, m_AccumulatedTime, and m_PreviousTime.
Definition at line 32 of file AreaDamageLooped.c.
References m_LoopInterval.
|
protected |
How much time has accumulated.
Definition at line 8 of file AreaDamageLooped.c.
Referenced by OnStayFinishServerEvent(), OnStayStartServerEvent(), and OnTriggerCreated().
|
protected |
Caching of the amount of loops that will be performed in this frame.
Definition at line 13 of file AreaDamageLooped.c.
Referenced by CalculateDamageScale(), OnStayFinishServerEvent(), and OnStayStartServerEvent().
|
protected |
Current start time in seconds.
Definition at line 4 of file AreaDamageLooped.c.
Referenced by CalculateDamageScale(), and OnStayStartServerEvent().
Decides if the looping will be using the Object as reference or the time since last update loop.
Definition at line 16 of file AreaDamageLooped.c.
Referenced by AreaDamageLooped(), CalculateDamageScale(), and OnEnterServerEvent().
|
protected |
Loop interval in seconds.
Definition at line 10 of file AreaDamageLooped.c.
Referenced by CalculateDamageScale(), OnStayFinishServerEvent(), OnStayStartServerEvent(), and SetLoopInterval().
|
protected |
Previous start time in seconds.
Definition at line 6 of file AreaDamageLooped.c.
Referenced by OnStayStartServerEvent(), and OnTriggerCreated().