I have node points that correspond with node buttons you can click. I am trying to get the player sprite to travel to each point when clicked, but only to the nodes that are joined by rail. (The moving I have down, it is the picking I am having issues with.)
I stored a text variable "AvailableNodes" in Each Node button. Example "0,2,3". When you click on the Node Button I want to search the text var with TokenAt and see if the node the player is on is in the list. Then send the player to that node that was clicked.
One question I have is: When storing a text value in an object variable, when using TokenAt, do I add "" in the variable or not?
I may be doing something wrong with TokenAt... I really need another pair of eyes to look at this and help... PLEASE?
http://www.box.com/s/40b40aefb4e67827a571