I want to be able to stop the music playing in an area through a script, and then restart it in a later script. I want to do this for a lot of areas, so preferably I'm looking for something general.
Now, I thought my solution would be
SetMusicIntensity(0);
and
SetMusicIntensity(1);
However, the music never actually stops when the intensity is set to 0. I should note, if it matters, that my music volume has an enter state of 1 and an exit state of 0 (which I guess means 'set it to this intensity when you enter/exit').
I'm interested in perhaps PlayMusic and StopMusic, as well as SetMusicVolumeByTag, but I don't know the tags for any of the music and, again, I would prefer to have a general solution, rather than specifying the music in every area. Not to mention that a lot of people have reported problems with PlayMusic().
Modifié par FergusM, 07 août 2010 - 11:41 .





Retour en haut






