Skip to content

StopSfx (RSDKv5)

Description

Stops all instances of the given sound effect playing.

Parameters

sfx

The slot of the sound effect.

Return Value

None.

Syntax

RSDK.StopSfx(uint16 sfx);
SoundFX.Stop();

Example

RSDK.StopSfx(MyObject->mySfx);
sVars->mySfx.Stop();