I have a dialogue box system.
Works like this:
Global Variable: "charactername"
Event trigger -> Play Animation: charactername&"_talk_idle"
The idea is that every dialogue box portrait animation is in a single sprite object, and I can draw that object and play the animations for the appropriate characters. I can change the global variable to the character's name, and the way the animation names are set up it works itself from there.
It already works in practice on a single-layout.
Now the problem arrises when I get to the stage where I need to start making numerous different Layouts with Includes to the "core" event sheet.
Every other aspect works perfectly in the 2nd layout (which is a duplicate of the first) and it's own event sheet is nothing but an include to the main event sheet. The main event sheet has an OnStart : Set Vale of charactername to "girl".
For testing purposes I removed that OnStart event from the main and put it on the 2nd room's sheet. (These separate Layout sheets with includes to Main will function as the different "levels" and scripted events. Where the only variation are things like the layout of the level or scripted events.) Didn't work.
It feels like the problem here is attributed to the Global Variable not functioning correctly. Anyone have any ideas? Am I understanding something wrong?