MusicBackgroundGetNightTrack

From NWN Lexicon



Contents

[edit] MusicBackgroundGetNightTrack(object)

Gets the nighttime background track for an area.

[edit] Parameters

oArea

Area to determine the background music track of.


[edit] Description

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



[edit] Remarks

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


[edit] Version

1.29

[edit] Example

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

[edit] See Also



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

Personal tools
Categories