Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
explosion.c
Go to the documentation of this file.
1 // WIP
2 
3 class Explosion
4 {
5  void SpawnEffect( vector position, Effect eff, vector pos, vector ori)
6  {
7  SEffectManager.PlayInWorld(eff, pos);
8  }
9 }
10 
11 class ExplosionTest : House
12 {
13  ref Timer m_Delay;
14 
16  {
17  m_Delay = new Timer;
18  m_Delay.Run(1, this, "ExplodeNow", null, false);
19  }
20 
21  void ExplodeNow()
22  {
23  Explode(DT_EXPLOSION, "Explosion_NonLethal");
24  }
25 }
Explosion
Definition: explosion.c:3
m_Delay
class Explosion m_Delay
Explode
override void Explode(int damageType, string ammoType="")
Definition: trap_landmine.c:220
vector
Definition: enconvert.c:105
Effect
void Effect()
ctor
Definition: effect.c:70
House
Definition: crashbase.c:1
ExplosionTest
void ExplosionTest()
Definition: explosion.c:15
ExplodeNow
void ExplodeNow()
Definition: explosion.c:21
Timer
Definition: dayzplayerimplement.c:62
SEffectManager
Manager class for managing Effect (EffectParticle, EffectSound)
Definition: effectmanager.c:5