Set Event Location: An event upon an event.

Hello everyone,

I come to you all with a unique issue- something I'd like to tackle without leaning on plugins.

I'm working on a scenario where a player enters a map and comes across a weapon. The weapon event itself has a sprite of its own with a "Same as Character" setup, but I wanted to impose a sparkling animation on it as well. So, I created a Set Event Location which runs off a second event outside of the map boundaries. That event has a sparkle sprite with "Stepping" option active and set to be "Above Character".

This works as when the player enters the map, they do see the sparkle effect on the weapon. However, the issue arises if the player chooses to exit the map without picking the weapon. When they re-enter back, the Set Event Location no longer triggers on the same location and the weapon event becomes sparkle-less.

I tried various approaches including running the Set Event Location off a Common Event and then having it call off a parallel event. But even though this works on re-entry, it breaks the "stepping" animation effect as the sparkle becomes static.
Following are my settings for the event to be set:
Spoiler: Page 1
Screenshot 2024-08-16 091505.png
Spoiler: Page 2
Screenshot 2024-08-16 091557.png

Would appreciate guidance on how I can make this work.

-Regards.
It's doing exactly what it should - you're turning on the self switch and the page with the self switch does nothing. You're never doing anything to turn that self switch off again to go back to the first page. (I've no clue what that third page is for or what's on it)

The way to do what you're asking is to have one event page; it's Autorun (or parallel, but Autorun executes first), has the location change, then Erase Event.

That will make it run only one time every time the map is loaded.
Alternatively just take your sword sprite and your sparkle sprite, and put them on top of eachother in gimp or whatever and save as character. Problem solved.

Original thread: https://forums.rpgmakerweb.com/threads/set-event-location-an-event-upon-an-event.171122/