Issue with erase event/exit event processing

I am attempting to make a cutscene and am having some issues.  I think it is a rather simple scene where the player and a single NPC are in a room.  The event is set to autorun where there is a little bit of a conversation and then they each move to separate, designated areas in the room.  If I use exit event processing then the text boxes keeps looping and the sprites bolt all over (I am guessing that exit event is the wrong one to use and the event is just looping).  If I use erase event it looks like things are working correctly (mostly - I can't figure out why the player move route won't move over a tile even though I set "through" to on) and the characters chat, then move to roughly where I want them to.  Now, if I press the alt key the player's sprite starts to move around which I don't understand.  The game "freezes" when the 2 sprites are where I sent them to (since I haven't built the scene further yet) and I can stare at the screen for a couple minutes and there is no movement, until I press the alt key and then the player starts moving.


I hope I made some sense toward what I want to do and what I am seeing.


Any help would be appreciated.
Set the event to turn on self switch A then create a new page that is blank and activate by self switch A. That should halt all the earlier event processing stuff. Not quite sure I understood about the rest of it though. =O
Autorun and parallel process events loop by default.  Exit Event Processing merely puts the command pointer at the bottom of the list of commands.  So that command combined with an autorun or parallel process event will simply result in the event starting over.


Erase Event erases the event from the map temporarily.  As soon as you leave the map and return, that event will be there again and will start running again.


The correct way to permanently end an autorun event, such as you might use in a cutscene, is to turn on a self switch then add another page conditioned by that self switch with no other changes (do NOT set the new page to autorun).


As for the other issue - only being able to move when you press ALT (though I thought it was CTRL that does this ...) sounds like you have the top left tile in the B tab set to an X for passage settings.  That one tile must ALWAYS have a star as the passage setting.  If that's what the problem is, it also indicates you don't have the latest version of the engine, and probably should think about getting an update 


http://forums.rpgmakerweb.com/index.php?/announcement/26-rpg-maker-mv-120-update/
Autorun and parallel process events loop by default.  Exit Event Processing merely puts the command pointer at the bottom of the list of commands.  So that command combined with an autorun or parallel process event will simply result in the event starting over.


Erase Event erases the event from the map temporarily.  As soon as you leave the map and return, that event will be there again and will start running again.


The correct way to permanently end an autorun event, such as you might use in a cutscene, is to turn on a self switch then add another page conditioned by that self switch with no other changes (do NOT set the new page to autorun).


As for the other issue - only being able to move when you press ALT (though I thought it was CTRL that does this ...) sounds like you have the top left tile in the B tab set to an X for passage settings.  That one tile must ALWAYS have a star as the passage setting.  If that's what the problem is, it also indicates you don't have the latest version of the engine, and probably should think about getting an update 


http://forums.rpgmakerweb.com/index.php?/announcement/26-rpg-maker-mv-120-update/

Thanks for the quick reply.  I just updated the program and think I implemented the event as you recommended, but now it just loops non stop.  I have attached screen captures showing the event config and hopefully you can point out where I am going wrong.


Thanks!

Event Page 1 Bottom.jpg

Event Page 1 Top.jpg

Event Page 2.jpg
That event looks perfect to me.  My thought is that you have a different event (could be another event on the map, or a common event set to autorun with a switch that's turned on) that is the REAL event that's running.


If you can't find another event that's similar, and is the real cause of the problem, we can look closer at the event you have here.


Does the text also repeat, or is it just the player movement that repeats?  If it's just the player movement and not the text, could you please edit either one of those Set Movement Route commands and provide a screenshot?  I'm wondering if it's set to repeat (though I'd expect to see a 'repeat' in the screenshots above if that was the case).


You might want to check the 'wait' box on the player's move route - otherwise that autorun event (when working properly) will stop the moment the move routes are initiated, and the player would be able to override the movement commands.


Could I please also see your NPC 'Ann' event?
I don't have any common events yet and I double checked that the blank ones are all set to "Trigger: None" and the text does repeat as well.  I have attached all the events on this map and they all require user action to set off.  I also checked the 'wait' box on the player route, but that didn't seems to change anything.


As for the pressing alt issue; I don't have control of the player when I pressed alt.  When I press Alt the player moves for roughly 4 squares (I think it may be part of the move route).  Also, I checked and the top left tile in B and it is a star for passage.


Thanks for your help!


ItemLootEvent.jpg


HealPartyEvent.jpg


NPCEvent.jpg
Do you have any plugins?  If you disable them all, does the problem still happen?


If it still happens when disabling all plugins, are you able to zip up your project folder and load it up to dropbox or something so I can grab it?  That will make it much faster for me to help you find the issue.
Yeah, I just finished killing all plugins and the problem was still there.  Once I get it up on a dropbox I will PM you the info.


Thank you very much for all the quick help.
If you are on a map when saving and later load a savefile from that position, the engine will load the status of that map as well, ignoring any changes that might have been made to the events on that map. If that is the case, you'll either need to exit and return to that map, or start a new game instead of loading the savefile - you won't see the event changes in game otherwise.
I'll definitely keep that in mind going forward however I am currently always starting a new game.


Thanks!
🙂


You have two maps that are almost identical - Ann's Home, one under Ecepyhales, and one under EcepyhalesOpening.  The difference between them is this one autorun event - on one map it's a two-page event that switches to the second page correctly; on the other, it's a one-page event that uses Exit Event Processing, which, as we've already discussed, is meaningless on an autorun event.  


You are not on the map that you think you are on 😉   
you have got to be kidding me...I thought I checked that!


Don't mind me as I walk away in shame...


One Lesson Learned: Name things uniquely lol.


Thank you very much for that, I was pulling my hair out for hours.
One Lesson Learned: Name things uniquely lol.

Maps have a display name for the player in case you need to pretend to the player that it's the same map.


But the player never sees the map name of the editor, so that should be different for every map.
Yeah, I really should have known better.  I used to do some programming a life or two ago and I was adamant that I used meaningful variable/function names.  Not sure why I slipped and was not doing the same here.  Oh well at least this is my first kick at it and I will definitely be more diligent going forward.  Thank you all for the assistance!

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-erase-event-exit-event-processing.61975/