MusicBattleStop

From NWN Lexicon



Contents

[edit] MusicBattleStop(object)

Stops the currently playing battle track.

void MusicBattleStop(
    object oArea
);

[edit] Parameters

oArea

The area affected.


[edit] Description

This function terminates playing the currently playing battle track for an area.



[edit] Version

1.22

[edit] Example

//when used in an area handler such as OnEnter, this causes any
//battle music to stop playing
object oArea = GetArea(OBJECT_SELF);
MusicBattleStop(oArea);

[edit] See Also



 author: Michael Nork, editor: Jeff Lindsey
 

Personal tools
Categories