Function; Sound_MusicPlayType - HWRM/KarosGraveyard GitHub Wiki

Sound_MusicPlayType(<sFileName>, <iType>)

Description

Play a looping music track.
Will turn off any music that is already playing.

Example

Sound_MusicPlayType("data:sound/music/ambient/AMB_01", MUS_Ambient)

Arguments

<sFileName>: filename of the music to play (e.g., "data:sound/music/ambient/amb_14"). Note: no extension
<iType>: the index number of the music type.
Note: the following variables can be used in place of index numbers:

MUS_Ambient, MUS_Staging, MUS_Battle

Note: serves what purpose, I don't know

Scope

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️