SFX (Command)
Prototype
SFX,-,SOUND EFFECT,-,-,DELAY,FILENAME
Description
Plays SOUND EFFECT after DELAY. Set DELAY of 1 for instant playback. Can play a custom sound effect from the level folder if you specify FILENAME.
Notes
The SOUND EFFECT number is the same order as in the SMBX event sound effect
Examples
// Play SMBX sound effect 1 right now
SFX,0,1,0,0,1,0
// Play custom sound effect in the level folder "whoop.wav" right now
SFX,0,0,0,0,1,whoop.wav