DayZ 1.24
Loading...
Searching...
No Matches
DestructionEffects.c File Reference

Go to the source code of this file.

Classes

class  DestructionEffectGasCanister
 
class  DestructionEffectSpookyGoat
 

Functions

DestructionEffectGasCanister DestructionEffectBase Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
 
override void OnEntityDestroyedOneTimeClient (EntityAI entity, int oldLevel, string zone)
 
override void OnEntityDestroyedOneTimeServer (EntityAI entity, int oldLevel, string zone)
 
override void OnEntityDestroyedPersistentClient (EntityAI entity, string zone)
 
override void OnEntityDestroyedPersistentServer (EntityAI entity, string zone)
 
override void OnExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType)
 

Function Documentation

◆ Init()

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

Definition at line 1 of file DestructionEffects.c.

171 {
172 m_EntityIsTakeable = true;
173
174
175 m_ParticlePersistent = ParticleList.NONE;
176 m_ParticleOneTime = ParticleList.NONE;
177
178 m_SoundSetOneTime = "AlarmClock_Destroyed_SoundSet";
179 m_SoundSetPersistent = "";
180
181 m_ReplaceWithEntity = "";
182 m_KeepHealthOnReplace = true;
183 m_ReplaceDelay = 1000;
184
185 m_HasExplosionDamage = false;
186 m_AmmoType = "";
187 m_DamageType = DamageType.EXPLOSION;
188 }
int m_DamageType
DamageType
exposed from C++ (do not change)
string m_AmmoType
static const int NONE

◆ OnEntityDestroyedOneTimeClient()

override void OnEntityDestroyedOneTimeClient ( EntityAI entity,
int oldLevel,
string zone )

Definition at line 192 of file DestructionEffects.c.

192 {
193 }
194

◆ OnEntityDestroyedOneTimeServer()

override void OnEntityDestroyedOneTimeServer ( EntityAI entity,
int oldLevel,
string zone )

Definition at line 196 of file DestructionEffects.c.

196 {
197 }
198

◆ OnEntityDestroyedPersistentClient()

override void OnEntityDestroyedPersistentClient ( EntityAI entity,
string zone )

Definition at line 200 of file DestructionEffects.c.

200 {
201 }
202

◆ OnEntityDestroyedPersistentServer()

override void OnEntityDestroyedPersistentServer ( EntityAI entity,
string zone )

Definition at line 204 of file DestructionEffects.c.

204 {
205 }
206

◆ OnExplosionEffects()

override void OnExplosionEffects ( Object source,
Object directHit,
int componentIndex,
string surface,
vector pos,
vector surfNormal,
float energyFactor,
float explosionFactor,
bool isWater,
string ammoType )

Definition at line 208 of file DestructionEffects.c.

208 {
209 }
210}