MusicBackgroundGetDayTrack(object)
Gets the daytime background track for an area.
int MusicBackgroundGetDayTrack( object oArea );
Parameters
oArea
The area to return the background music track of.
Description
This function returns an integer value that is associated with the currently set daytime 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 = MusicBackgroundGetDayTrack (oArea);
See Also
categories: | Area Functions | Music Effects Functions |
author: Michael Nork, editor: Charles Feduke, additional contributor(s): Tyson McCann