TriggerFX( <effect entity>, <when> )


Module: Effects

Summary:

Replays the effect associated with the effect entity. This does not kill any existing effects.



Example:

TriggerFX( fxObj, -5 );



Required Args:

  • 1 : <effect entity> The effect id returned by loadfx.


Optional Args

  • 1 : <when> The time at which the effect should be triggered. This can be in the past.