Hello.
I'm making some sort of dialogue / message system with triggers. It works like so.
I add a key to the dictionary.
On overlapping with a trigger and pressing a key - Spawn a bubble text, text and set text to Dictionary key. I set the size of both with tokenat.
Now, I made this work as intended. The problem comes when I want to expand this to multiple characters and triggers, because I will end up with 1 event per each trigger.
If I want the same "character" to have multiple dialogues I came up with the idea of just adding an instance variable to that character to use it on the event as a condition if variable = speech1, speech2, etc.
Is there a way I could make a few functions to simplify this? These are my current events.