I know that with the Yarn implementation, you can refer to a Yarn node based on the name of a variable stored in an object. Does anyone know if it is possible to send the player to a new scene based on the text content of a variable?
For instance, the variable in a door object might be called DESTINATION and it’s text content might be called “scene3”. I want a command that can send you to the scene called whatever the variable DESTINATION is. In this case it would send you to the scene called “scene3”.
I don’t know if it’s possible but it would be really handy.
Thanks for the reply. I don’t mean when using Yarn. I just know that the Yarn system uses the feature.
What I want to do is put in a variable on an object some text that names what scene name I want to go to when interacting with the object. Then have one simple piece of code that will read the text in that variable and send you to the scene by that name.
The “go to scene” action seems to need the exact name of the scene. It would be great if it would accept a text variable instead.
That’s what I would have thought. But the blue button that is normally present that allows you to select the variable from the object is not showing. I think I tried to type the address for the variable into the text field but it didn’t work. I’ll try again when I get home.