class SmokeGrenadeBaseSource
SmokeGrenadeBase › Grenade_Base › ExplosivesBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
All members, including inherited
Constructors 2
void SmokeGrenadeBase()void ~SmokeGrenadeBase()no effect on base no effect on base no effect on base
Members 17
protected ref Timer m_TimerSmokeStartprotected ref Timer m_TimerSmokeLoopprotected ref Timer m_TimerSmokeEndprotected ref Timer m_TimerDeferprotected ESmokeGrenadeState m_SmokeGrenadeStateprotected ESmokeGrenadeState m_LastSmokeGrenadeStateReferenced by RefreshParticlesAndSounds()
protected Particle m_ParticleSmokeparticle
protected int m_ParticleSmokeCurrentIdprotected int m_ParticleSmokeStartIdprotected int m_ParticleSmokeLoopIdprotected int m_ParticleSmokeEndIdprotected vector m_ParticleSmokePositionprotected EffectSound m_SoundSmokesounds
protected string m_SoundSmokeStartIdprotected string m_SoundSmokeLoopIdprotected string m_SoundSmokeEndIdMethods 27
void SetParticleSmokeCurrent(int particle)References m_ParticleSmokeCurrentId
Referenced by RefreshParticlesAndSounds()
void SetParticleSmokeStart(int particle)References m_ParticleSmokeStartId
void SetParticleSmokeLoop(int particle)References m_ParticleSmokeLoopId
void SetParticleSmokeEnd(int particle)References m_ParticleSmokeEndId
void SetSoundSmokeStart(string sound)References m_SoundSmokeStartId
void SetSoundSmokeLoop(string sound)References m_SoundSmokeLoopId
void SetSoundSmokeEnd(string sound)References m_SoundSmokeEndId
protected void PlaySmokeParticle()References ParticleManager.GetInstance(), ParticleManager.PlayOnObject(), ExplosivesBase.m_ParticlePosition
Show 3 more
, m_ParticleSmoke, m_ParticleSmokeCurrentId, and vector.ZeroReferenced by RefreshParticlesAndSounds()
protected void SoundSmokeStart()Referenced by RefreshParticlesAndSounds()
protected void SoundSmokeLoop()Referenced by RefreshParticlesAndSounds()
protected void SoundSmokeEnd()Referenced by RefreshParticlesAndSounds()
protected void SoundSmokeStop()protected void DestroySmokeGrenade()protected void RefreshParticlesAndSounds()Referenced by OnVariablesSynchronized()
override void Unpin()override void OnActivateFinished()override void OnWorkStart()override void OnWork(float consumed_energy)References NoiseSystem.AddNoisePos(), NoiseAIEvaluate.GetNoiseReduction(), CGame.GetNoiseSystem()
Show 4 more
, Object.GetPosition(), CGame.GetWeather(), CGame.IsServer(), and m_NoiseParoverride void OnWorkStop()Referenced by M18SmokeGrenade_Red_Contaminated.OnWorkStop()
defer timer
override void OnActivatedByItem(notnull ItemBase item)override void SetActions()override void OnVariablesSynchronized()ESmokeGrenadeState GetSmokeGrenadeState()References m_SmokeGrenadeState
Referenced by RefreshParticlesAndSounds()
override void EEDelete(EntityAI parent)References ExplosivesBase.DestroyParticle(), ExplosivesBase.EEDelete(), SoundSmokeStop()
Show 1 more
, m_ParticleSmokevoid SetSmokeGrenadeState(ESmokeGrenadeState state)