MusicBackgroundGetBattleTrack

From NWN Lexicon



Contents

[edit] MusicBackgroundGetBattleTrack(object)

Gets the background battle track for an area.

[edit] Parameters

oArea

Area to change the music of.


[edit] Description

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



[edit] Remarks

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


[edit] Version

1.29

[edit] Example

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

[edit] See Also



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

Personal tools
Categories