bool m_IsPlaying
Whether the Effect is currently playing.
bool IsParticle()
Check whether the Effect is EffectParticle without casting.
void PlayParticle(int particle_id=-1)
Method to tell the particle to start playing.
ParticleEvents GetEvents()
Get the events.
bool StopParticle(int flags=0)
Method to tell the particle to stop playing.
bool ResetParticle()
Method to tell the particle to reset.
bool RestartParticle()
Method to tell the particle to restart (reset + play)
void OnParticleParented(IEntity parent)
Event when the particle receives a parent.
bool PlayParticleEx(int particle_id=-1, int flags=0)
Method to tell the particle to start playing.
void OnParticleStart()
Event when the particle starts.
void OnParticleUnParented(IEntity parent)
Event when the particle is orphaned.
void OnParticleReset()
Event when the particle is restarted.
ref ParticleEvents m_EventInvokers
Event invokers.
void OnParticleEnd()
Event when the particle ends.
bool IsParticlePlaying()
Ask if the particle is still playing.
void OnParticleStop()
Event when the particle stops.
Invokers for ParticleBase events, called from events.
ref ScriptInvoker Event_OnParticleUnParented
Called when particle is orphaned.
ref ScriptInvoker Event_OnParticleEnd
Called when particle ends.
ref ScriptInvoker Event_OnParticleParented
Called when particle receives a parent.
ref ScriptInvoker Event_OnParticleStart
Called when particle starts playing.
ref ScriptInvoker Event_OnParticleReset
Called when particle is reset.
ref ScriptInvoker Event_OnParticleStop
Called when particle stops playing.
ScriptInvoker Class provide list of callbacks usage: