GetSfx¶
Description¶
Retrieves the ID of the given sound effect.
Parameters¶
sfxPath
-
The path of the sound effect. SFX must be defined in the GameConfig/StageConfig in order to be valid.
Return Value¶
Returns the ID of the sound effect as a uint16
. The return value will be -1
if the sound effect is invalid.