Using Go To Scene (At Index)
Bowhill Games
Member Posts: 191
Hi guys,
I am trying to consolidate some of the behaviours in my game into one Actor that i do not need to edit the rules of in each scene. i am trying to use Go To Scene and use a table cell value to drive the scene selection, the row of which is specified by an actor attribute.
the issue is this doesn't seem to work, and im not sure why. from what i can tell this is logically correct and should function in the way i am expecting. any ideas?
Behaviour i am using.
Table that contains scene names.
Unexpected result, as you can see the scene names match the table cell values.
(site currently under construction)
Comments
ah looks like by index it means the order of the scene in the Scenes tab, would be good to access this by name.
Yes, scene index is by integer value according to the order of scenes in the Scenes tab.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Yes, there are some shortcomings when it comes to scene index. It's just a number and you cannot read the current scene's index when in it.