To be clear, by permanent I mean during the specific game and not in a new game. For example: Guard A and Guard B are standing at ends of a hall. Guard A patrols right and Guard B patrols left and eventually they are at opposite ends of the hall. Guard A is now where Guard B was and vice versa. They should now remain in this position even if I exit the map and return. However, if I were to fire up a new game, Guard A and B should be back at their original posts.
For situations like this in the past I've created a secondary event and put it in the final position of the starting event and then just did stuff with switches to turn things on and off. But in the guard case scenario above this wont be possible since I cannot place a secondary Guard A on top of original Guard B.
The main issue is that in Scene_Map.create the DataManager loads the events from the json file. So it will always load the original x,y coordinates every time I enter a map. If I wanted to change the coordinates in here I would have to change the json file which will cause a global save/new-game spanning change. This is undesirable of course.
Alternative solutions: Store the new event coordinates separately somewhere; Put the secondary events beside where they should go and autorun on map load to re-position them (this could have issues if the events are in sight of the player and don't move locations fast enough); Use a script. I saw a script for moving events from one map to another. I imagine this script might also be able to permanently move an event on the same map since it appears that it is storing event information separately.
It seems like there should be a much simpler way of doing this. It would be nice anyway since I do this type of thing a lot to make my maps more dynamic.
For situations like this in the past I've created a secondary event and put it in the final position of the starting event and then just did stuff with switches to turn things on and off. But in the guard case scenario above this wont be possible since I cannot place a secondary Guard A on top of original Guard B.
The main issue is that in Scene_Map.create the DataManager loads the events from the json file. So it will always load the original x,y coordinates every time I enter a map. If I wanted to change the coordinates in here I would have to change the json file which will cause a global save/new-game spanning change. This is undesirable of course.
Alternative solutions: Store the new event coordinates separately somewhere; Put the secondary events beside where they should go and autorun on map load to re-position them (this could have issues if the events are in sight of the player and don't move locations fast enough); Use a script. I saw a script for moving events from one map to another. I imagine this script might also be able to permanently move an event on the same map since it appears that it is storing event information separately.
It seems like there should be a much simpler way of doing this. It would be nice anyway since I do this type of thing a lot to make my maps more dynamic.