Event won't change position on different maps

I have made this one event, it is situated at 0, 0 on every map that you can die on, and the switch that triggers it is turned on when you die, and the event gets teleported to the position you died at. And once you go back to interact with the event, it gets sent back to 0, 0. But whenever I die, the event only works on the first map you have ever been on and nowhere else.

What can I do to fix it? I have left screenshots of everything that I think is important.

Screenshot_2515.png
Screenshot_2517.png

Screenshot_2514.png

Screenshot_2516.png
A "Set Event Location" command will only be performed once and is not saved when you leave and reenter a map.

So you would have to set the Event's location everytime you enter the map.

Also note, that a "Set Event Location" is assigned by the EventID. So, if your "Wealth" event is on every map, you would have to make sure, it has the same ID everywhere (which seems to be ID 43 in this example).

Without diving too deep into your events, I would suggest to activate a switch and put a Parallel Event to your maps, that (if the switch is ON), will do the "Set Event Location" and "Erase Event" afterwards.
A "Set Event Location" command will only be performed once and is not saved when you leave and reenter a map.

So you would have to set the Event's location everytime you enter the map.

Also note, that a "Set Event Location" is assigned by the EventID. So, if your "Wealth" event is on every map, you would have to make sure, it has the same ID everywhere (which seems to be ID 43 in this example).

Without diving too deep into your events, I would suggest to activate a switch and put a Parallel Event to your maps, that (if the switch is ON), will do the "Set Event Location" and "Erase Event" afterwards.
I do have to mention that I have a plugin that saves the location of the event every time I reload the map, so my problem might occur because of the EventID, like you said. Is there any way to make it so that I don't have to have 43 events on every map there is?
I see - you can try to set up the event to use "This Event" in your "Set Event Location". So you don't have to pick a specific event by number.

I see your event calling a Common Event - there "This Event" will work, since the Common Event will be performed "inside" of the calling event.

For example your Map events active page is a Parallel Process with a Switch as a condition. As soon as this Switch is activated, it will set it's own location and deactivate that switch afterwards. But you would have to be on that map when it happens.
Since you already have a save location plugin, isn't there a spawn even plugin so you can just spawn one event where you died?
Since you already have a save location plugin, isn't there a spawn even plugin so you can just spawn one event where you died?
I don't know, is there one?
Yeah, there are some plugins, for example this one.

Original thread: https://forums.rpgmakerweb.com/threads/event-wont-change-position-on-different-maps.175223/