static int Game.GetMODPattern()
Returns the currently playing pattern/track with MOD/XM music.
If there is no mod music currently playing, returns -1.
Example:
if (Game.GetMODPattern() >= 10) {
SeekMODPattern(2);
}
will loop back to pattern 2 when it reaches pattern 10.
See Also: SeekMODPattern
|