Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
cupidsboltsimulation.c
Go to the documentation of this file.
2 {
3  protected Particle m_ParticleTail;
4 
5  void OnFire(Entity entity)
6  {
7  if (m_ParticleTail)
8  m_ParticleTail.Stop();
9 
10  m_ParticleTail = ParticleManager.GetInstance().PlayOnObject(ParticleList.BOLT_CUPID_TAIL, entity);
11  m_ParticleTail.SetWiggle(7, 0.3);
12  }
13 
14  void ~CupidsBoltSimulation()
15  {
16  if (m_ParticleTail)
17  m_ParticleTail.Stop();
18  }
19 }
CupidsBoltSimulation
Definition: cupidsboltsimulation.c:1
Particle
Legacy way of using particles in the game.
Definition: particle.c:6
Managed
TODO doc.
Definition: enscript.c:117
ParticleList
Definition: particlelist.c:11
Entity
Definition: camera.c:1
ParticleManager
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Definition: particlemanager.c:84