11class GeyserArea : EffectArea
38 super.EEDelete( parent );
43 super.InitZoneServer();
45 if ( m_TriggerType !=
"" )
62 float diagTimeInterval;
63 float diagTimeDuration;
65 GeyserDebugData geyserDebugData =
g_Game.m_GeyserDiagData;
68 diagEnabled = geyserDebugData.m_DiagEnabled;
69 diagTimeInterval = geyserDebugData.m_DiagTimeInterval;
70 diagTimeDuration = geyserDebugData.m_DiagTimeDuration;
76 logInterval = diagTimeInterval;
90 #ifndef DIAG_DEVELOPER
99 Debug.
Log(
m_Name +
": ERUPTION_SOON, interval: " + diagTimeInterval +
" sec");
112 #ifndef DIAG_DEVELOPER
118 #ifdef ENABLE_LOGGING
119 #ifdef GEYSER_LOGGING
120 #ifndef DIAG_DEVELOPER
129 Debug.
Log(
m_Name +
": ERUPTING_PRIMARY, interval: " + diagTimeDuration +
" sec");
147 #ifndef DIAG_DEVELOPER
155 #ifdef ENABLE_LOGGING
156 #ifdef GEYSER_LOGGING
167 #ifndef DIAG_DEVELOPER
212 foreach (
Object obj : nearestObjects)
216 entity.ProcessDirectDamage(
DamageType.CUSTOM,
this,
"",
"HeatDamage",
"0 0 0", 1000);
override void DeferredInit()
override void InitZoneServer()
override void EEDelete(EntityAI parent)
DamageType
exposed from C++ (do not change)
vector m_Position
Cached world position.
GeyserTrigger m_GeyserTrigger
void RandomizeIntervals()
int m_TimeSecondaryElapsed
void KillEntitiesInArea()
float m_RandomizedInterval
const float ERUPTION_TALL_DURATION
float m_RandomizedDuration
const float ERUPTION_TALL_DELAY
const float PRE_ERUPTION_DURATION
enum EGeyserState UPDATE_RATE
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static proto bool IsInRange(float v, float min, float max)
Returns if value is between min and max (inclusive)
static bool RandomBool()
Returns a random bool .
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].