|
Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the documentation of this file.
106 SetHealth(
"",
"", 0);
168 if ( GetCompEM() && GetCompEM().CanWork() )
170 GetCompEM().SwitchOn();
190 Param1<ESmokeGrenadeState> par =
new Param1<ESmokeGrenadeState>(
ESmokeGrenadeState.LOOP);
195 override void OnWork(
float consumed_energy)
218 return !GetCompEM().IsWorking();
223 GetCompEM().SwitchOn();
235 super.OnVariablesSynchronized();
249 super.EEDelete(parent);
proto native CGame GetGame()
void SetSoundSmokeEnd(string sound)
protected void DestroySmokeGrenade()
override void EEDelete(EntityAI parent)
Legacy way of using particles in the game.
override void OnExplosionEffects(Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType)
override void OnActivateFinished()
protected int m_ParticleSmokeCurrentId
override void OnActivatedByItem(notnull ItemBase item)
Called when this item is activated by other.
override void OnVariablesSynchronized()
void RemoveAction(typename actionName)
override void OnWorkStop()
void SetSoundSmokeLoop(string sound)
protected ESmokeGrenadeState m_SmokeGrenadeState
void SetParticleSmokeCurrent(int particle)
protected void PlaySmokeParticle()
protected ref Timer m_TimerDefer
override void SetActions()
protected void RefreshParticlesAndSounds()
protected string m_SoundSmokeStartId
protected ESmokeGrenadeState m_LastSmokeGrenadeState
protected string m_SoundSmokeLoopId
class JsonUndergroundAreaTriggerData GetPosition
Wrapper class for managing sound through SEffectManager.
protected int m_ParticleSmokeEndId
class ObjectSpawnerHandler NoiseParams
protected void DestroyParticle(Particle p)
protected void SoundSmokeLoop()
override bool CanPutInCargo(EntityAI parent)
void SetSmokeGrenadeState(ESmokeGrenadeState state)
void SetParticleSmokeEnd(int particle)
override void OnWork(float consumed_energy)
enum ESmokeGrenadeState m_TimerSmokeStart
protected void SoundSmokeStop()
ESmokeGrenadeState GetSmokeGrenadeState()
void SetParticleSmokeLoop(int particle)
protected ref Timer m_TimerSmokeEnd
void SetSoundSmokeStart(string sound)
protected vector m_ParticlePosition
void SetParticleSmokeStart(int particle)
void SetAmmoType(string pAmmoType)
protected vector m_ParticleSmokePosition
protected void SoundSmokeEnd()
protected EffectSound m_SoundSmoke
sounds
protected int m_ParticleSmokeLoopId
protected string m_SoundSmokeEndId
protected int m_ParticleSmokeStartId
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
ref NoiseParams m_NoisePar
Noise.
protected void SoundSmokeStart()
protected Particle m_ParticleSmoke
particle
override void OnWorkStart()
protected ref Timer m_TimerSmokeLoop