105 SetHealth(
"",
"", 0);
166 if (GetCompEM() && GetCompEM().CanWork())
167 GetCompEM().SwitchOn();
210 return !GetCompEM().IsWorking();
215 GetCompEM().SwitchOn();
227 super.OnVariablesSynchronized();
241 super.EEDelete(parent);
eBleedingSourceType GetType()
ref NoiseParams m_NoisePar
void RemoveAction(typename actionName)
override void OnVariablesSynchronized()
override void EEDelete(EntityAI parent)
override void OnExplosionEffects(Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType)
void DestroyParticle(Particle p)
override bool CanPutInCargo(EntityAI parent)
void SetAmmoType(string pAmmoType)
vector m_ParticlePosition
override void OnWorkStop()
class NoiseSystem NoiseParams()
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
override void OnActivatedByItem(notnull ItemBase item)
Called when this item is activated by other.
vector m_ParticleSmokePosition
void RefreshParticlesAndSounds()
ESmokeGrenadeState m_SmokeGrenadeState
int m_ParticleSmokeStartId
void SetSmokeGrenadeState(ESmokeGrenadeState state)
string m_SoundSmokeStartId
override void OnActivateFinished()
ESmokeGrenadeState m_LastSmokeGrenadeState
ref Timer m_TimerSmokeEnd
string m_SoundSmokeLoopId
void SetSoundSmokeEnd(string sound)
EffectSound m_SoundSmoke
sounds
void SetParticleSmokeLoop(int particle)
void SetSoundSmokeStart(string sound)
ESmokeGrenadeState GetSmokeGrenadeState()
ref Timer m_TimerSmokeLoop
enum ESmokeGrenadeState m_TimerSmokeStart
override void OnWork(float consumed_energy)
void DestroySmokeGrenade()
override void OnWorkStart()
Particle m_ParticleSmoke
particle
void SetParticleSmokeEnd(int particle)
void SetSoundSmokeLoop(string sound)
int m_ParticleSmokeLoopId
int m_ParticleSmokeCurrentId
void SetParticleSmokeStart(int particle)
void SetParticleSmokeCurrent(int particle)
class JsonUndergroundAreaTriggerData GetPosition
Wrapper class for managing sound through SEffectManager.
Legacy way of using particles in the game.
proto native CGame GetGame()