Jump to content

Home

Stop Background Music


Robespierre

Recommended Posts

Is there a way in KOTOR 2 to stop the background music from playing at certain times? Perhaps a script you could trigger in a dialog? I'm only asking because some of the dialog I want to put in a mod already has background music in it, and it would sound kinda stupid if I put it in the game with background music already playing.

Link to comment
Share on other sites

I think that this script should work

void main() {
   object oArea = GetArea(OBJECT_SELF);



    MusicBackgroundStop(oArea);

}

 

Use this script to start the music again

 

void main() {
   object oArea = GetArea(OBJECT_SELF);    
MusicBackgroundPlay(oArea);
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...