I have an event thats handling battle encounters, when I issue the escape handler I command the event to wait but the event won't leave me the hell alone and keeps engaging me in combat. How can I stop this event from doing its command again.
Events won't stop harrasing me into combat.
RPG Maker MV SupportWhat I did is the escape handler switches the event page to the next page, that basically tells the event to wait (fixed autonomous movement). Then after using a parallel process to wait for x frames (basically let me escape), it back to the earlier page (encounter page).
There are several different solutions.
I just guess your System in my Head and think this could solve it:
When Case Player Escaped Battle.
Use Eventcommand "Set Movementroute" This Event (No repeat, no wait, no skip): Movecommand Wait 60 Frames.
If you run again into the Event it will immediately retrigger, but if you move away, it will stop chasing you for 1 Second (60Frames = 1second)
Edit: Use TheoAllen solution than you cant retrigger the event aslong the timer is ongoing. Now you know both possible solutions.
I just guess your System in my Head and think this could solve it:
When Case Player Escaped Battle.
Use Eventcommand "Set Movementroute" This Event (No repeat, no wait, no skip): Movecommand Wait 60 Frames.
If you run again into the Event it will immediately retrigger, but if you move away, it will stop chasing you for 1 Second (60Frames = 1second)
Edit: Use TheoAllen solution than you cant retrigger the event aslong the timer is ongoing. Now you know both possible solutions.
Seems to have sorted the issue, this was getting complicated since there is alot of variety of plugins and script calls-but none that effected the escape handler. Odd.
Thank you for the support!
Thank you for the support!
Original thread: https://forums.rpgmakerweb.com/threads/events-wont-stop-harrasing-me-into-combat.105473/