[Solved] Name of a scene as a condition

Is there a way to indicate the name of a Scene in the Condition of an Event? I know there is “CurrentSceneName()”, but that seems to only work for Actions.

Basically what I’m trying to do is have something on my external events sheet like:

CONDITION
If the name of the Scene is XXX or YYY or ZZZ

ACTION
Play this song (or use this background color, etc.)

I currently just have these in the events for each individual scene, but it would be nice to have them all in once place. It would also be a lot easier to change them all at once instead of having to go into each scene. I thought about giving each scene a variable and then referring to the variable in the external events sheet, but that’s just adding more code than less.

Use CurrentSceneName() in Compare two strings :

image

4 Likes