25 RegisterNetSyncVariableInt(
"m_GeyserState", 0, 32);
51 super.EEDelete(parent);
56 super.OnEnterServerEvent(insider);
62 entity.ProcessDirectDamage(
DamageType.CUSTOM,
this,
"",
"HeatDamage",
"0 0 0", 1000);
68 super.OnLeaveServerEvent(insider);
73 super.OnEnterClientEvent(insider);
78 super.OnLeaveClientEvent(insider);
83 super.OnVariablesSynchronized();
152 pos[1] = pos[1] + height;
DamageType
exposed from C++ (do not change)
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
proto native float SurfaceY(float x, float z)
Wrapper class for managing sound through SEffectManager.
override void OnVariablesSynchronized()
const string SOUND_ERUPTION_TALL
EffectSound m_SoundEruptionSecondary
ParticleSource m_GeyserParticle
ParticleSource m_GeyserTallParticle
override void OnLeaveServerEvent(TriggerInsider insider)
void RemoveGeyserState(EGeyserState state)
EffectSound m_SoundBubbling
override void OnLeaveClientEvent(TriggerInsider insider)
EGeyserState GetGeyserState()
vector GetAdjustedPosition(float height=0)
override void OnEnterClientEvent(TriggerInsider insider)
override void EEDelete(EntityAI parent)
const float MOUTH_ADJUST_RADIUS
const string SOUND_ERUPTION
EffectSound m_SoundEruption
const string SOUND_BUBBLING
void AddGeyserState(EGeyserState state)
override void OnEnterServerEvent(TriggerInsider insider)
ParticleSource m_GeyserBubblesParticle
EGeyserState m_GeyserState
override string GetDisplayName()
static const int GEYSER_STRONG
static const int GEYSER_BUBBLES
static const int GEYSER_NORMAL
Entity which has the particle instance as an ObjectComponent.
static EffectSound PlaySound(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
Manager class for managing Effect (EffectParticle, EffectSound)
The object which is in a trigger and its metadata.
proto native CGame GetGame()
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].
class JsonUndergroundAreaTriggerData GetPosition