I have a function and an external events list to help condense the creation of each button into less events, but the ID system I’m trying to add to make the buttons work (as they wouldn’t work at all with multiple at once) won’t work as whatever value is on the left of the condition “The variable X = Y” is treated as invalid regardless of what I write and trying to preview the game with this line completely crashes it.
It looks like the condition is trying to read a variable using the condition for a scene or global variable but the variable is an object variable not a scene or global structure variable.
The top condition is from the other conditions tab while the 2nd condition if from object variable from the selected object’s condition list.
Those red squiggles under the object variable names indicate those variables don’t exist on the objects.
You mentioned you’re using external events. Make sure that the objects in the associated scene for those external events have the required variables defined.
The object in question is a global object, but I might have initially created it in a scene different from the one the external events are connected to. Is this the problem? How do I fix it?
Does the global object have those variables defined for it? Remember the variable names are case sensitive.
could it be a problem with how the ID variable has the same name in all 3 objects? They all have a variable named ID
Ok it seems the problem WAS that it was searching for a scene variable. I didn’t notice there was a difference in variable value and object variable value since I just clicked the top result


