Changing scenes to a random one
beefy_clyro
Member Posts: 5,394
Hi. I have 40 scenes and was wondering how i would have it so when you touch it changes to scenes at random, i dont want it in order? Thanks
Comments
Then use Change Attribute
game.myCurrentScene To random(1,40)
Then, a Rule for each one:
When game.myCurrentScene is 1
Change Scene To Scene 1
When game.myCurrentScene is 2
Change Scene To Scene 2
etc...
Copy and paste is key!
-Gamexcb
it's in my level select screens
it's in my "try again" popup
as well as my "go to the next scene" popup
so currently i have those rules 120 times!
yes, very tedious, but it works!
Also, you can only select from levels in the drop down, so you can't do it ahead of time...