SFX (Command)

From PGE Wiki
Revision as of 08:14, 9 May 2015 by Horikawa otane (talk | contribs) (Created page with "Category: LunaDLL Category: Autocode Commands ==Prototype== SFX,-,SOUND EFFECT,-,-,DELAY,FILENAME ==Description== Plays SOUND EFFECT after DELAY. Set DELAY of 1 for i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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