SFX (Autocode)

From Moondust Wiki
Jump to navigation Jump to search

Prototype

SFX,-,SOUND EFFECT,-,-,DELAY,FILENAME (.wav for original LunaDLL, any audio format for TheXTech)

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.
  • Use ../filename if you wanna play sound in the episode folder.

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