MusicBackgroundGetNightTrack(object)
Gets the nighttime background track for an area.
int MusicBackgroundGetNightTrack( object oArea );
Parameters
oArea
Area to determine the background music track of.
Description
This function returns an integer value that is associated with the currently set nighttime background track.
Remarks
There are no constants for the returned track number; instead please refer to Resources > Sounds & Music > Music for track numbers.
Version
1.29
Example
object oArea = GetArea(OBJECT_SELF); int iBattleTrack = MusicBackgroundGetNightTrack(oArea);
See Also
categories: | Area Functions | Music Effects Functions |
author: Michael Nork, editor: Charles Feduke, additional contributor(s): Tyson McCann