MusicBackgroundGetDayTrack

From NWN Lexicon
Jump to navigationJump to search



MusicBackgroundGetDayTrack(object)

Gets the daytime background track for an area.

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



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