Clone Events

Hi,

So I'm having some trouble trying to figure out a way to do this, basically I have an event that's going to have the same function and it's going to be present in various maps along the game, that event is supposed to be invisible until the player interacts with a specific object, how can I make so those events are not connected between maps? Those events can't be related, for example if the player interacts with the object to activate the event on map A that same event cannot be activated on map B, until the player interacts with the object on map B. I believe self switches won't work because the event is activated through another event, I tried using variables but then I would have to force the player to activate them in order for them to work, which I can't do because of other features.
You can just use a script call to change a self switch from a different event.

Code:
$gameSelfSwitches.setValue([mapId, eventID, 'A'], true)
where A is whichever letter you want, and it's true or false to turn it on or off.

No leading zeros in the IDs.
That worked, thanks!
This thread is being closed due to being solved. If you need it reopened, report it to let us know why. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/clone-events.165141/