User Tools

Site Tools


Table of Contents

Music (XG class)

Class = music

Changes the currently playing music.


Prm Name Type Meaning
Ip0 Song ID Music Name (ID) of the music to start playing.
Ip1 Play Looped Integer If non-zero, the music will play looped.


Line Type {
    ID = 5006
    Comment = "Play music track ID 2 looped"
    Flags = player_cross
    Flags2 = when_act | any
    Class = music
    Count = 1
    Time = 1
    Song ID = 2
    Play Looped = 1

The line is triggered when the player crosses the line (Flags = player_cross). The line is active in any skill mode and any game type (Flags2 = any) and the line carries out it's action when active (Flags2 = when_act). The line can only be triggered once (Count = 1). When activated, the line changes the music track to track ID 2 and it will be played looped.

xg/class/music.txt · Last modified: 2017-03-17 10:24 by skyjake