User Switches

Question on user switches and how they work. If I create a switch on an object, turn it on, and then teleport that switch reverts to default. Is there a way to stop that? Example of what I’m trying to do. I want to create an NPC that says something different the second time you speak with them. I created the user switch, have it turned on when the dialog is over, test and they say the new dialog. So far so good. I did a teleport, spoke with the NPC, and they said the original dialog again. I could just use a database switch which means I could have a lot of a switch for dialog, but I was more curious if the user switches could be like self-switches in RPG Maker or if they just don’t work that way.

It’s likely that the object is being initialized when the teleport (scene transition) is executed.

There is a property called “Maintain State at End of Scene” in BaseSettings. Could you please try enabling that?

That worked! Thank you. I figured I had to be doing something wrong.