Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
GeyserTrigger Class Reference
Inheritance diagram for GeyserTrigger:
EffectTrigger

Protected Member Functions

void GeyserTrigger ()
void AddGeyserState (EGeyserState state)
bool CheckGeyserState (EGeyserState state)
override void DeferredInit ()
override void EEDelete (EntityAI parent)
vector GetAdjustedPosition (float height=0)
override string GetDisplayName ()
EGeyserState GetGeyserState ()
bool IsSubmerged ()
override void OnEnterClientEvent (TriggerInsider insider)
override void OnEnterServerEvent (TriggerInsider insider)
override void OnLeaveClientEvent (TriggerInsider insider)
override void OnLeaveServerEvent (TriggerInsider insider)
override void OnVariablesSynchronized ()
void RandomizeMouthPos ()
void RemoveGeyserState (EGeyserState state)
void StopEffects ()
void UpdateGeyserState ()

Protected Attributes

float m_AdjustedX
float m_AdjustedY
bool m_bIsDormant
bool m_bIsErupting
bool m_bIsEruptingSoon
bool m_bIsEruptingTall
vector m_DefaultPosition
ParticleSource m_GeyserBubblesParticle
ParticleSource m_GeyserParticle
ParticleSource m_GeyserSplashParticle
EGeyserState m_GeyserState = EGeyserState.DORMANT
ParticleSource m_GeyserTallParticle
EffectSound m_SoundBubbling
EffectSound m_SoundEruption
EffectSound m_SoundEruptionSecondary
EffectSound m_SoundEruptionSecondaryEnd
EffectSound m_SoundEruptionSecondaryStart
EffectSound m_SoundEruptionStart

Private Attributes

const float MOUTH_ADJUST_RADIUS = 0.2
const string SOUND_BUBBLING = "Geyser_bubbling_loop_SoundSet"
const string SOUND_ERUPTION = "Geyser_eruption_loop_SoundSet"
const string SOUND_ERUPTION_START = "Geyser_eruption_start_SoundSet"
const string SOUND_ERUPTION_TALL = "Geyser_eruption_tall_loop_SoundSet"
const string SOUND_ERUPTION_TALL_END = "Geyser_eruption_tall_splash_SoundSet"
const string SOUND_ERUPTION_TALL_START = "Geyser_eruption_tall_start_SoundSet"

Additional Inherited Members

Private Member Functions inherited from EffectTrigger
override void OnEnterClientEvent (TriggerInsider insider)
override void OnEnterServerEvent (TriggerInsider insider)
override void OnLeaveClientEvent (TriggerInsider insider)
override void OnLeaveServerEvent (TriggerInsider insider)
void OnStayClientEvent (TriggerInsider insider, float deltaTime)
override bool ShouldRemoveInsider (TriggerInsider insider)
Static Private Member Functions inherited from EffectTrigger
static void TriggerEffect (EntityAI insider, typename triggerType)

Detailed Description

Definition at line 1 of file geysertrigger.c.

Constructor & Destructor Documentation

◆ GeyserTrigger()

void GeyserTrigger ( )
inlineprotected

Definition at line 31 of file geysertrigger.c.

Member Function Documentation

◆ AddGeyserState()

void AddGeyserState ( EGeyserState state)
inlineprotected

Definition at line 224 of file geysertrigger.c.

References m_GeyserState.

◆ CheckGeyserState()

bool CheckGeyserState ( EGeyserState state)
inlineprotected

Definition at line 236 of file geysertrigger.c.

References m_GeyserState.

Referenced by UpdateGeyserState().

◆ DeferredInit()

override void DeferredInit ( )
inlineprotected

◆ EEDelete()

override void EEDelete ( EntityAI parent)
inlineprotected

Definition at line 54 of file geysertrigger.c.

References StopEffects().

◆ GetAdjustedPosition()

vector GetAdjustedPosition ( float height = 0)
inlineprotected

Definition at line 186 of file geysertrigger.c.

References g_Game, and GetPosition().

Referenced by DeferredInit().

◆ GetDisplayName()

override string GetDisplayName ( )
inlineprotected

Definition at line 49 of file geysertrigger.c.

◆ GetGeyserState()

EGeyserState GetGeyserState ( )
inlineprotected

Definition at line 244 of file geysertrigger.c.

References m_GeyserState.

◆ IsSubmerged()

bool IsSubmerged ( )
inlineprotected

Definition at line 250 of file geysertrigger.c.

Referenced by DeferredInit().

◆ OnEnterClientEvent()

override void OnEnterClientEvent ( TriggerInsider insider)
inlineprotected

Definition at line 78 of file geysertrigger.c.

◆ OnEnterServerEvent()

override void OnEnterServerEvent ( TriggerInsider insider)
inlineprotected

Definition at line 61 of file geysertrigger.c.

References TriggerInsider::GetObject(), and m_GeyserState.

◆ OnLeaveClientEvent()

override void OnLeaveClientEvent ( TriggerInsider insider)
inlineprotected

Definition at line 83 of file geysertrigger.c.

◆ OnLeaveServerEvent()

override void OnLeaveServerEvent ( TriggerInsider insider)
inlineprotected

Definition at line 73 of file geysertrigger.c.

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
inlineprotected

Definition at line 88 of file geysertrigger.c.

References IsInitialized(), and UpdateGeyserState().

◆ RandomizeMouthPos()

void RandomizeMouthPos ( )
inlineprotected

◆ RemoveGeyserState()

void RemoveGeyserState ( EGeyserState state)
inlineprotected

Definition at line 230 of file geysertrigger.c.

References m_GeyserState.

◆ StopEffects()

◆ UpdateGeyserState()

Field Documentation

◆ m_AdjustedX

float m_AdjustedX
protected

Definition at line 15 of file geysertrigger.c.

Referenced by RandomizeMouthPos().

◆ m_AdjustedY

float m_AdjustedY
protected

Definition at line 16 of file geysertrigger.c.

Referenced by RandomizeMouthPos().

◆ m_bIsDormant

bool m_bIsDormant
protected

Definition at line 11 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ m_bIsErupting

bool m_bIsErupting
protected

Definition at line 13 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_bIsEruptingSoon

bool m_bIsEruptingSoon
protected

Definition at line 12 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_bIsEruptingTall

bool m_bIsEruptingTall
protected

Definition at line 14 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_DefaultPosition

vector m_DefaultPosition
protected

Definition at line 17 of file geysertrigger.c.

Referenced by DeferredInit(), RandomizeMouthPos(), and UpdateGeyserState().

◆ m_GeyserBubblesParticle

ParticleSource m_GeyserBubblesParticle
protected

Definition at line 20 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_GeyserParticle

ParticleSource m_GeyserParticle
protected

Definition at line 21 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_GeyserSplashParticle

ParticleSource m_GeyserSplashParticle
protected

Definition at line 23 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ m_GeyserState

◆ m_GeyserTallParticle

ParticleSource m_GeyserTallParticle
protected

Definition at line 22 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_SoundBubbling

EffectSound m_SoundBubbling
protected

Definition at line 24 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_SoundEruption

EffectSound m_SoundEruption
protected

Definition at line 25 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_SoundEruptionSecondary

EffectSound m_SoundEruptionSecondary
protected

Definition at line 27 of file geysertrigger.c.

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_SoundEruptionSecondaryEnd

EffectSound m_SoundEruptionSecondaryEnd
protected

Definition at line 29 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ m_SoundEruptionSecondaryStart

EffectSound m_SoundEruptionSecondaryStart
protected

Definition at line 28 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ m_SoundEruptionStart

EffectSound m_SoundEruptionStart
protected

Definition at line 26 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ MOUTH_ADJUST_RADIUS

const float MOUTH_ADJUST_RADIUS = 0.2
private

Definition at line 3 of file geysertrigger.c.

Referenced by RandomizeMouthPos().

◆ SOUND_BUBBLING

const string SOUND_BUBBLING = "Geyser_bubbling_loop_SoundSet"
private

Definition at line 4 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION

const string SOUND_ERUPTION = "Geyser_eruption_loop_SoundSet"
private

Definition at line 5 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION_START

const string SOUND_ERUPTION_START = "Geyser_eruption_start_SoundSet"
private

Definition at line 6 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION_TALL

const string SOUND_ERUPTION_TALL = "Geyser_eruption_tall_loop_SoundSet"
private

Definition at line 7 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION_TALL_END

const string SOUND_ERUPTION_TALL_END = "Geyser_eruption_tall_splash_SoundSet"
private

Definition at line 9 of file geysertrigger.c.

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION_TALL_START

const string SOUND_ERUPTION_TALL_START = "Geyser_eruption_tall_start_SoundSet"
private

Definition at line 8 of file geysertrigger.c.

Referenced by UpdateGeyserState().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/entities/scriptedentities/triggers/geysertrigger.c