playmusic

Script Reference Sound & Video

playmusic (musicname ; noloop ; position) //Beginner

Used for : Generell.

Parameters :

- musikname- Name of a musicfile.
- noloop - Optional : Musictrack will not loop.
- position - Optional : Only for fileformats IT, MOD, XM and MO3.

Description :

Starts playback of a musictrack. If there is currently another track playing the game will crossfade to the new track. Trackerfiles can be started from a certain patternposition. When noloop is used the music will only be played once. [Variables] can be used as parameters.