So following a tutorial i’ve made a dialogue system. Works fine, have used on multiple dialogues. Simply just copy and paste the needed dialogue code and boom no problem. Well…
Here is the thing, it for some reason doesn’t want to recognize another dialogue tree. It works completely fine when i write previous trees into the code but it just will not want to load the new one i’ve created.
Here is the code i am using for the dialogue system:
Dialogues based on characters and positions:
The dialogue code that “doesn’t work”:
The dialogue tree Yarn refuses to recognize:
I have tried :
- Renaming the tree
- Adding text before the options just in case the text was the problem
I don’t understand what i’m doing wrong here. Every bit of code seems right to me and it does recognize older dialogue trees. Does Yarn have a set limit on amount of trees it can have or something?
I do have a JSON file loading at the beginning of the scene. Just didn’t include it since it’s a single line of code