Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
geyserarea.c File Reference

Go to the source code of this file.

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 KillEntitiesInArea ()
void RandomizeIntervals ()
void TickState ()

Variables

const float ERUPTION_TALL_DELAY = 3
const float ERUPTION_TALL_DURATION = 3
GeyserTrigger m_GeyserTrigger
float m_RandomizedDuration
float m_RandomizedInterval
bool m_SecondaryActive
int m_TimeElapsed
int m_TimeSecondaryElapsed
const float PRE_ERUPTION_DURATION = 10
enum EGeyserState UPDATE_RATE = 1000

Enumeration Type Documentation

◆ EGeyserState

Enumerator
DORMANT 
ERUPTION_SOON 
ERUPTING_PRIMARY 
ERUPTING_SECONDARY 

Definition at line 1 of file geyserarea.c.

Function Documentation

◆ DeferredInit()

override void DeferredInit ( )
protected

Definition at line 24 of file geyserarea.c.

References InitZone().

◆ EEDelete()

override void EEDelete ( EntityAI parent)
protected

Definition at line 31 of file geyserarea.c.

References g_Game, and m_GeyserTrigger.

◆ InitZoneServer()

override void InitZoneServer ( )
protected

◆ KillEntitiesInArea()

void KillEntitiesInArea ( )
private

Definition at line 141 of file geyserarea.c.

References g_Game, m_Position, and m_Radius.

Referenced by TickState().

◆ RandomizeIntervals()

void RandomizeIntervals ( )
private

Definition at line 135 of file geyserarea.c.

References m_RandomizedDuration, m_RandomizedInterval, and Math::RandomInt().

Referenced by InitZoneServer(), and TickState().

◆ TickState()

Variable Documentation

◆ ERUPTION_TALL_DELAY

const float ERUPTION_TALL_DELAY = 3
protected

Definition at line 14 of file geyserarea.c.

Referenced by TickState().

◆ ERUPTION_TALL_DURATION

const float ERUPTION_TALL_DURATION = 3
protected

Definition at line 13 of file geyserarea.c.

Referenced by TickState().

◆ m_GeyserTrigger

GeyserTrigger m_GeyserTrigger
protected

Definition at line 22 of file geyserarea.c.

Referenced by EEDelete(), InitZoneServer(), and TickState().

◆ m_RandomizedDuration

float m_RandomizedDuration
protected

Definition at line 21 of file geyserarea.c.

Referenced by RandomizeIntervals(), and TickState().

◆ m_RandomizedInterval

float m_RandomizedInterval
protected

Definition at line 20 of file geyserarea.c.

Referenced by RandomizeIntervals(), and TickState().

◆ m_SecondaryActive

bool m_SecondaryActive
protected

Definition at line 16 of file geyserarea.c.

Referenced by TickState().

◆ m_TimeElapsed

int m_TimeElapsed
protected

Definition at line 18 of file geyserarea.c.

Referenced by TickState().

◆ m_TimeSecondaryElapsed

int m_TimeSecondaryElapsed
protected

Definition at line 19 of file geyserarea.c.

Referenced by TickState().

◆ PRE_ERUPTION_DURATION

const float PRE_ERUPTION_DURATION = 10
protected

Definition at line 12 of file geyserarea.c.

Referenced by TickState().

◆ UPDATE_RATE

enum EGeyserState UPDATE_RATE = 1000

Referenced by InitZoneServer(), and TickState().