KiLL3R

PlayFX( <effect id >, <position of effect>, [forward vector], [up vector] )


Module: Effects

Summary:

Play this effect.



Example:

fx = PlayFX( enginesmoke, engine.origin );



Required Args:

  • 1 : <effect id> The effect id returned by loadfx
  • 2 : <position of effect> The world position of the effect


Optional Args

  • 1: [forward vector]; The forward vector of the effect
  • 2: [up vector] The up vector of the effect