Description
Plays an FX effect on the specified object and registers it to FXHandles.
Registered FX can be hidden via SetFXVisible (cheat) and stopped via S_StopAllFx.
Use this instead of PlayFX when the FX needs to be controlled by the cheat or stop-all system.
If the FX has a SpawnerId set, the effect is spawned at the world spawner location instead of on the entity.
Parameters
| Parameter | Description |
|---|
| BaseObject | The target object to play the FX effect on. |
| S1 | The FX ID defined in Fx.json. |
Examples
| Description | BaseObject | Command |
|---|
| Play Emotion FX on Self (hideable by cheat) | Self | PlayFxWithHandle |