MusicBackgroundGetBattleTrack(object)

Gets the background battle track for an area.

int MusicBackgroundGetBattleTrack(
    object oArea
);

Parameters

oArea

Area to change the music of.


Description

This function returns an integer value that is associated with the currently set battle track.



Remarks

There are no constants for the returned track value; instead please refer to Resources > Sounds & Music > Music for track numbers.


Version

1.29

Example

object oArea = GetArea(OBJECT_SELF);
int iBattleTrack = MusicBackgroundGetBattleTrack(oArea);

See Also

categories: Area Functions | Music Effects Functions


 author: Michael Nork, editor: Charles Feduke, additional contributor(s): Tyson McCann