MusicBackgroundGetDayTrack

From NWN Lexicon
Revision as of 00:40, 26 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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