PlayMusic

From PGE Wiki
Jump to navigation Jump to search

Prototype

PlayMusic,-,SECTION,-,-,DELAY,-

Description

Plays the music from SECTION after DELAY. Set DELAY to 1 to play it right now.

Notes

You can use this to have more than 1 custom music in a section. Just set the music as the music for sections you're not using.

Examples

// Play the music from section 21 right now
PlayMusic,0,21,0,0,1,0
// Play the music from section 20 right now
PlayMusic,0,20,0,0,1,0