protected void OnParticleParented(IEntity parent)
Event when the particle receives a parent.
protected void OnParticleReset()
Event when the particle is restarted.
bool StopParticle(int flags=0)
Method to tell the particle to stop playing.
bool ResetParticle()
Method to tell the particle to reset.
override bool IsParticle()
Have script recognize this as a Particle without casting.
Invokers for ParticleBase events, called from events.
class ParticleEvents m_IsPlaying
Engine base class with internal functionality.
bool RestartParticle()
Method to tell the particle to restart (reset + play)
bool IsParticlePlaying()
Ask if the particle is still playing.
protected void OnParticleStart()
Event when the particle starts.
protected void OnParticleUnParented(IEntity parent)
Event when the particle is orphaned.
protected void OnParticleEnd()
Event when the particle ends.
void PlayParticle(int particle_id=-1)
Method to tell the particle to start playing.
protected void OnParticleStop()
Event when the particle stops.
ParticleEvents GetEvents()
Get the events.
protected ref ParticleEvents m_EventInvokers
Event invokers.
bool PlayParticleEx(int particle_id=-1, int flags=0)
Method to tell the particle to start playing.