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

Protected Member Functions

void Grenade_ChemGas ()
void ~Grenade_ChemGas ()
void Activate ()
override void EEKilled (Object killer)
override void EOnContact (IEntity other, Contact extra)
string GetExplosionSoundSet ()
override void OnDamageDestroyed (int oldLevel)
void OnExplode ()

Protected Attributes

bool m_Exploded
EffectSound m_ExplosionSound
ParticleSource m_ParticleExploded

Additional Inherited Members

Private Member Functions inherited from Grenade_Base
void Grenade_Base ()
void ~FlashGrenade ()
void Activate ()
void ActivateImmediate ()
void ActivateRandomTime ()
override bool CanBeArmed ()
override bool CanBeDisarmed ()
override bool CanExplodeInFire ()
override void CreateLight ()
void Deactivate ()
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
void ExplodeGrenade (EGrenadeType grenade_type)
 DEPRECATED - for backward compatibility only.
EGrenadeType GetGrenadeType ()
override void InitiateExplosion ()
override void InitSpecificsExplosionEffectForSurface ()
bool IsPinnable ()
bool IsPinned ()
override void OnActivatedByItem (notnull ItemBase item)
override void OnActivatedByTripWire ()
 DEPRECATED use OnActivatedByItem.
void OnActivateFinished ()
void OnActivateImmediate ()
void OnActivateStarted ()
void OnDeactivate ()
void OnPin ()
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
void OnUnpin ()
override void OnWasAttached (EntityAI parent, int slot_id)
void Pin ()
override void SetActions ()
void SetFuseDelay (float delay)
void SetGrenadeType (EGrenadeType type)
void SetPinnable (bool state)
void Unpin ()
Private Attributes inherited from Grenade_Base
const float DEFAULT_FUSE_DELAY = 10
float m_FuseDelay
ref Timer m_FuseTimer
EGrenadeType m_GrenadeType
bool m_Pinnable
bool m_Pinned
float m_RemainingFuseTime

Detailed Description

Definition at line 1 of file grenade_chemgas.c.

Constructor & Destructor Documentation

◆ Grenade_ChemGas()

◆ ~Grenade_ChemGas()

void ~Grenade_ChemGas ( )
protected

Member Function Documentation

◆ Activate()

void Activate ( )
inlineprotected

Definition at line 64 of file grenade_chemgas.c.

◆ EEKilled()

override void EEKilled ( Object killer)
inlineprotected

Definition at line 45 of file grenade_chemgas.c.

◆ EOnContact()

override void EOnContact ( IEntity other,
Contact extra )
inlineprotected

Definition at line 34 of file grenade_chemgas.c.

References g_Game, m_Exploded, and Grenade_Base::OnActivateFinished().

◆ GetExplosionSoundSet()

string GetExplosionSoundSet ( )
inlineprotected

Definition at line 29 of file grenade_chemgas.c.

Referenced by OnDamageDestroyed().

◆ OnDamageDestroyed()

override void OnDamageDestroyed ( int oldLevel)
inlineprotected

◆ OnExplode()

void OnExplode ( )
inlineprotected

Definition at line 19 of file grenade_chemgas.c.

References g_Game, GetPosition(), and m_Exploded.

Field Documentation

◆ m_Exploded

bool m_Exploded
protected

Definition at line 3 of file grenade_chemgas.c.

Referenced by EOnContact(), and OnExplode().

◆ m_ExplosionSound

EffectSound m_ExplosionSound
protected

Definition at line 5 of file grenade_chemgas.c.

Referenced by OnDamageDestroyed().

◆ m_ParticleExploded

ParticleSource m_ParticleExploded
protected

Definition at line 4 of file grenade_chemgas.c.

Referenced by OnDamageDestroyed().


The documentation for this class was generated from the following file: