Quantcast
Channel: Answers for "How to Make the Game Go to the Next Level When the Music Stops"
Viewing all articles
Browse latest Browse all 4

Answer by JusticeAShearing

$
0
0
I have two ways that could help you. It is one, or the other, due to whichever circumstances arise. First One: This depends on the idea that you have a script which activates the sound. If that is so, apply this code to the script. I do hope that it works for you. If it doesn't, or you would like the gaps filled in, please post the full script that activates the sound. This script is written in Java-Script. If you want it in another language, tell me and I will try to translate it. //This code is applied at the end function OnMusicStop () { Application.LoadLevel("the level that you want to load") } //This code is applied within the function that plays the music, so that when the music stops, this occurs OnMusicStop(); If there is no script, please further explain the specific circumstances. Please post your script if there is one, so I can give it to you with my additions in it. Replace 'the level that you want to load' with the number assigned to the level that you want to load. This is found by entering the exportation menu, when it lists the levels, they have numbers next to them. This defines what number that the level is. For instance, FullWorld could be its name, but 5 could be its number.

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images