Disable script after MQ is completed

Post » Fri Jul 11, 2014 3:53 am

Hey, I'm currently using this script to play a specific music file in a cell. However, I'd like this music to stop playing after the main quest has been completed.

Any help on how to write this script?

Begin MyMusicfloat timerIf ( CellChanged == 1 )Set Timer to 0ReturnEndifif ( timer <= 0 )StreamMusic "Special/My_Music.mp3"set timer to 85  Endifset timer to timer - GetSecondsPassedEnd

User avatar
jaideep singh
 
Posts: 3357
Joined: Sun Jul 08, 2007 8:45 pm

Return to III - Morrowind