Having trouble with moving events!

So, I have two guards that block a bridge, as so:

Spoiler
d1db45a640616aa3d8017ca3083c8855.png



So, you speak to one of them, they tell you that you must fight to pass, and then once you win, they move out of the way, like so:

Spoiler
00594aa06fdd20db3dbf1c539ccc7767.png



However, when you leave and return to the forest by going to another map, or leaving the save and returning, they end up like this:

Spoiler
35f33ed69e544428be5d162c6f5a24f0.png



I'm not using Erase Event or anything, so I have no idea why this is happening. Here're the event pages for one of the guards, since both guards' pages are both identical, only the move routes are reversed:


Page 1

Spoiler
9000f849781c1f7db4a4c79dc3492839.png
80c003ea13e379110cd300eeb8bcce87.png



Page 2

Spoiler
It's the same as page 1, only the "I apologise, but..." dialogue is gone and its condition is on Control Switch A.



Page 3

Spoiler
39c88781e9c84432c1ec42574b476a6b.png



So, yeah, does anyone know what's happening? Do I have to put page 3 on parallel process or something...?


Thanks for the help!!  😀 I truly appreciate it!
It's because you've changed the page that's active so they face a different direction, but when a map is loaded, the events will always go back to their original position.


This will help you:





In the move routes for the guards, add a Script call at the end, and put the following into the script call:

Code:
this.savePos();



This will make it remember where the events are at the end of their move routes, and next time the map is loaded, they'll be moved to that location.
Thanks for responding, Shaz!!


However, that's an MV plugin, and I'm using VX Ace. 🙂


No worries, because I found that plugin's VX Ace equivalent by you, so thanks so much!! That works like a charm!  😀
Oh, sorry.  I just saw the MV under your avatar.


This is the Ace version.  Instead of this.savePos() in the script call, use save_pos 
Yeah, really sorry about that! ^^;


It works like a charm! Thanks!! 😀

Original thread: https://forums.rpgmakerweb.com/threads/having-trouble-with-moving-events.71494/