MusicBattleChange
From NWN Lexicon
Contents |
[edit] MusicBattleChange(object, int)
Changes the battle music for the area specified.
void MusicBattleChange( object oArea, int nTrack );
[edit] Parameters
oArea
The area to affect.
nTrack
Music track number.
[edit] Description
This function changes an area's battle music.
[edit] Remarks
There are no constants for nTrack; instead please refer to Resources > Sounds & Music > Music for track numbers.
[edit] Version
1.29
[edit] Example
// changes the current area's battle music to 'Forest Combat 2' object oArea = GetArea(OBJECT_SELF); MusicBattleChange(oArea, 36);
[edit] See Also
author: Michael Nork, editor: Charles Feduke, additional contributor(s): Tyson McCann