Replies: 1 comment
-
To change scenes you'd have to write a mutation function that changes the scene and then call it from the dialogue with a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im currently making a game and I was wondering if it was possible to add a script to the dialogue?
For example, I want to add a script to my game where after the specific dialogue has ended it would switch scenes to another scene.
Although when I tried to do it with, get_tree().change_scene("res://level_2.tscn"), the in-game dialogue just typed out the code instead of actually executing it.


If it isn't possible then is there an alternative way of doing this?
Beta Was this translation helpful? Give feedback.
All reactions