Pikmin Posted August 16, 2008 Share Posted August 16, 2008 I have a music file(mus_atris) set to play in my new version of the "Atris' Corruption" scene. But it plays on top of the normal music that plays while in the module. Is there a way to keep the other music from playing in the onenter script? Link to comment Share on other sites More sharing options...
Tupac Amaru Posted August 18, 2008 Share Posted August 18, 2008 The premade script a_bg_music can turn the background music on and off during cutscenes. Use 0 as the parameter P1 to turn music off and 1 to turn it on again at the end of the cutscene. If you want to stop the music in your own scripts, this command will turn the background music off MusicBackgroundStop(GetArea(OBJECT_SELF)); And to make it play again: MusicBackgroundPlay(GetArea(OBJECT_SELF)); Link to comment Share on other sites More sharing options...
Pikmin Posted August 18, 2008 Author Share Posted August 18, 2008 Sweet! Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.