DayZ 1.26
DayZ Explorer by KGB
|
Deferred version of AreaDamageLooped. Подробнее...
Защищенные члены | |
override void | SetDeferDuration (float time) |
float | CalculateDamageScale (TriggerInsider insider, float deltaTime) |
Защищенные данные | |
float | m_DeferDuration = 1.0 |
Time the damage should be deferred in seconds. | |
Дополнительные унаследованные члены | |
Закрытые члены унаследованные от 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) |
Закрытые данные унаследованные от 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.
|
inlineprotected |
Перекрестные ссылки TriggerInsider::lastUpdated, m_DeferDuration и TriggerInsider::timeEntered.
Перекрестные ссылки m_DeferDuration.
|
protected |
Time the damage should be deferred in seconds.
Используется в CalculateDamageScale() и SetDeferDuration().