Enumerations | |
enum | EGeyserState { DORMANT = 0 , ERUPTION_SOON = 1 , ERUPTING_PRIMARY = 2 , ERUPTING_SECONDARY = 4 } |
Functions | |
override void | DeferredInit () |
override void | EEDelete (EntityAI parent) |
override void | InitZoneServer () |
void | TickState () |
private void | RandomizeIntervals () |
void | KillEntitiesInArea () |
Variables | |
enum EGeyserState | UPDATE_RATE = 1000 |
protected const float | PRE_ERUPTION_DURATION = 10 |
protected const float | ERUPTION_TALL_DURATION = 3 |
protected const float | ERUPTION_TALL_DELAY = 3 |
protected bool | m_SecondaryActive |
protected int | m_TimeElapsed |
protected int | m_TimeSecondaryElapsed |
protected float | m_RandomizedInterval |
protected float | m_RandomizedDuration |
protected GeyserTrigger | m_GeyserTrigger |
enum EGeyserState |
override void DeferredInit | ( | ) |
References InitZone().
override void EEDelete | ( | EntityAI | parent | ) |
References GetGame(), m_GeyserTrigger, and GeyserTrigger::StopEffects().
override void InitZoneServer | ( | ) |
void KillEntitiesInArea | ( | ) |
References GetGame(), CGame::GetObjectsAtPosition(), m_Position, and m_Radius.
Referenced by TickState().
private void RandomizeIntervals | ( | ) |
References m_RandomizedDuration, m_RandomizedInterval, and Math::RandomInt().
Referenced by InitZoneServer(), and TickState().
void TickState | ( | ) |
References GeyserTrigger::AddGeyserState(), GeyserTrigger::CheckGeyserState(), ERUPTION_TALL_DELAY, ERUPTION_TALL_DURATION, Math::IsInRange(), KillEntitiesInArea(), Debug::Log(), m_GeyserTrigger, m_Name, m_RandomizedDuration, m_RandomizedInterval, m_SecondaryActive, m_TimeElapsed, m_TimeSecondaryElapsed, PRE_ERUPTION_DURATION, Math::RandomBool(), RandomizeIntervals(), GeyserTrigger::RemoveGeyserState(), and UPDATE_RATE.
Referenced by InitZoneServer().
protected const float ERUPTION_TALL_DELAY = 3 |
Referenced by TickState().
protected const float ERUPTION_TALL_DURATION = 3 |
Referenced by TickState().
protected GeyserTrigger m_GeyserTrigger |
Referenced by EEDelete(), InitZoneServer(), and TickState().
protected float m_RandomizedDuration |
Referenced by RandomizeIntervals(), and TickState().
protected float m_RandomizedInterval |
Referenced by RandomizeIntervals(), and TickState().
protected bool m_SecondaryActive |
Referenced by TickState().
protected int m_TimeElapsed |
Referenced by TickState().
protected int m_TimeSecondaryElapsed |
Referenced by TickState().
protected const float PRE_ERUPTION_DURATION = 10 |
Referenced by TickState().
enum EGeyserState UPDATE_RATE = 1000 |
Referenced by InitZoneServer(), and TickState().