placement of events based on player location on the map

i want to craft a tent and then place said tent on the ground but based on where the location of the player is standing on the map. how do you do this?
What I would try is to have the tent event start as "invisible" on the map. Page 1, no graphic. Then you can use variables to store the player's X and Y. Then you can do a Set Event Location command, using those variables, and change it to a second page with the tent graphic on it.

Alternatively, depending on exactly how you are using it, you could temporarily change the player's graphic to a tent. But, I don't know the exact use you are wanting as to know which would work best.
1) use control variable to find the player position and calculatw where the tent has to be.
2) either use a clone event plugin or change event location on a prepared map event to set the tent.
*blinks* clone event ?
There's a plugin that create an exact clone of event from other map. Good way to keep your project neat so that you don't need to make tent event for every single map. I remember it's called "Event Duplicator" or something...

Anyway, if you want this tent to last permanently, make sure to use "save event position" plugin. Otherwise your event will reset its position when you reenter the map.
thank you i'll take a look at this as i'm making a building/placement system from scratch for a survival game i'm dev'ing 🙁

Original thread: https://forums.rpgmakerweb.com/threads/placement-of-events-based-on-player-location-on-the-map.97297/