Changing to correct level depending on level attribute

dwibredwibre Member Posts: 192
edited October 2012 in Working with GS (Mac)
In my menu I have a button to start the level at the moment I have lots of rules that was
If attribute "what level" = 1 go to level 1
If attribute "what level" = 2 go to level 2

and so on up to level 36...

This is quite code heavy is there a simpler way of doing this something like

If attribute "what level" = x go to level with same number as "what level"

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Nope unfortunately not at this time. The scenes are given unique ID numbers on the backend of the project file so that no matter what order you rearrange them to or name them the project always knows what scene is what. This is import so when you have a Change scene to Pause Menu and then you move that scene in your list. That rule still knows when the scene actually is.

    I would hope in the future GameSalad comes up with an intuitive way of doing this in the future but as of right now there are higher priorities on the list.
Sign In or Register to comment.