At the end of a very long cutscene, I'm trying to gain control of my character again after replacing them with a damaged sprite, and after the last command, the whole game freezes. Nothing is on autorun after the event, exit event processing doesn't work, everything is on through, nothing is working. Please help...
Character won't move and every other event disappears
RPG Maker MV SupportPost some screenshots of your events so that we can help you analyze the problem (s).
I've moved this thread to MV SUpport. Thank you.
The problem is you have an auto-run that isn't turned off, so the game will hang as it is trying to run it. You don't use exist event processing on a blank page, as all that does is restart the event. Instead, use a blank page set to action button which is set to only run once the autorun is over, and that should do it.
Also remember RPGMaker runs the highest page number which is valid, so if it ever gets to page 3 it will hang again. You never want an autorun set to your last page, as that will always run. Remember auto run = always runs.
I tried that, and the character's still don't move.
Your page 3 is also the problem as I just said. Basically that event *must* have for the last page a blank event set to action button else some autorun is going to always run.
And if you do that and you still freeze, then another autorun is active. Easy way to find it is to put dummy text in all your autoruns like Show Text: Hi, I'm event (insert a number here). If that shows up, then you know which page is running.
And if you do that and you still freeze, then another autorun is active. Easy way to find it is to put dummy text in all your autoruns like Show Text: Hi, I'm event (insert a number here). If that shows up, then you know which page is running.
Code freezes the game for several reasons besides just autorun. Since you're not showing any code (PrintScreen is your friend), I will just give you general advice.
1. You say "nothing is on auto-run after the event" this implies that you have a still on autorun. Lemme guess, it's triggered by a switch in the <-- side of the local event. There are some ways around this:
3. By the same thinking, any logical problem where two contradictory forces are acting against each other can potentially freeze the game. Turning an event on and off with two different events, but having it set up so neither turn off, can possibly do so for instance.
Okay, I now see the events so...
1. The To The Courtyard event should be Parallel process. So could many of the others with just using Wait and other stuff.
2. TURN YOUR SWITCHES OFF! Nearly every event has a constantly on Autorun event, that you're trying to stop with End Event. Add a switch that shuts on so the plot continues, then shut off each event switch.
1. You say "nothing is on auto-run after the event" this implies that you have a still on autorun. Lemme guess, it's triggered by a switch in the <-- side of the local event. There are some ways around this:
- You could teleport to a new map. Typically, events have trouble persisting on a new map. But this is not a sure thing!
- If the switch is on, End Event Processing will not work because it closes the event, but the conditions that cause them will persist. What you're actually telling it with the switches on the left is AS LONG AS THIS SWITCH IS ON, Autorun. End Event Processing does not resolve this. You have to either turn the auto-event switch OFF (or whatever is causing the auto-event), or erase the event. The second one is sloppy, but if you have multiple switches involved, is sometimes the best way.
- Make a new event page, this one a parallel process with nothing in it but End Event Process, and switch to that. The Auto-Event is overwritten by the parallel process, and all the parallel process does is close things out. It may cause lag, so possibly disable any switches from the page before.
3. By the same thinking, any logical problem where two contradictory forces are acting against each other can potentially freeze the game. Turning an event on and off with two different events, but having it set up so neither turn off, can possibly do so for instance.
Okay, I now see the events so...
1. The To The Courtyard event should be Parallel process. So could many of the others with just using Wait and other stuff.
2. TURN YOUR SWITCHES OFF! Nearly every event has a constantly on Autorun event, that you're trying to stop with End Event. Add a switch that shuts on so the plot continues, then shut off each event switch.
The player will not gain control again, because you have your page set to Autorun. Autorun means the player can't do anything while that page is active. Autorun and Parallel Process events loop automatically, so all you're doing by adding Exit Event Processing is making it go back to the top of the loop. It's just running that command over and over. Get rid of the command and change the trigger to Action Button.
When you share screenshots, please include the entire event page. You have cropped off the event name and pages in your screenshots above, so we can't see if that's a single event, or multiple events, or how many pages it has, or whether there are other pages that you haven't shown us. Best way to capture an event screenshot is to use Alt + PrintScreen, and not crop it any further.
You're turning on switch 10 to supposedly give the player control (which it doesn't), and your other events all have a page conditioned by switch 10 with no sprites. That's why they're all disappearing.
I Don't think that you understand Switches too well. You have the General idea, but the execution is wrong. Generally, you would use a regular switch if you wish to effect multiple events. For one event though, you would probably use a Self Switch. Now, you can probably do all of that with one- count them- one switch.
All you need to have is one event that effectively moves all the rest of the events to whatever location you want. Use of Fadescreens really help as well. All you need is one Autorun event, followed by a second page of the event that is blank and is neither Autorun or parallel. You put your switch on the first Autorun page, then use the Switch condition on the second page. So basically you are telling the program that the second page can't be run until the Switch is turned on. Essentially the program Autorun the first page, turns the Switch On, then runs the second page because the Switch is turned on and basically does nothing else. And that is what you need to do.
Now, if you want those other characters to appear and be interactive, but after the cutscene, simply go into each event, create two pages for it. Leave the first one blank. The second one, you have the condition that the Switch is turned on, you put a character image in the display box and then write some dialogue. What essentially is happening is that those events won't be accessed until the cutscene is run and that switch is turned on.
I hope this explanation helped you to understand switches a bit better. Remember that you can use self switches too, but only if you want to just want to effect that one event. (This is good for doors and chests, etc. )
All you need to have is one event that effectively moves all the rest of the events to whatever location you want. Use of Fadescreens really help as well. All you need is one Autorun event, followed by a second page of the event that is blank and is neither Autorun or parallel. You put your switch on the first Autorun page, then use the Switch condition on the second page. So basically you are telling the program that the second page can't be run until the Switch is turned on. Essentially the program Autorun the first page, turns the Switch On, then runs the second page because the Switch is turned on and basically does nothing else. And that is what you need to do.
Now, if you want those other characters to appear and be interactive, but after the cutscene, simply go into each event, create two pages for it. Leave the first one blank. The second one, you have the condition that the Switch is turned on, you put a character image in the display box and then write some dialogue. What essentially is happening is that those events won't be accessed until the cutscene is run and that switch is turned on.
I hope this explanation helped you to understand switches a bit better. Remember that you can use self switches too, but only if you want to just want to effect that one event. (This is good for doors and chests, etc. )
It also appears that you are making a cutscene and distributing the processing between multiple events, using extra pages and switches to control what each event does, or looks like, at different points throughout the cutscene. This is prone to error, as you've discovered.
I suggest you take a look at this:
http://blog.rpgmakerweb.com/tips-and-tricks/events-arent-npcs/
I suggest you take a look at this:
http://blog.rpgmakerweb.com/tips-and-tricks/events-arent-npcs/
Really could not have explained that better, @Shaz. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/character-wont-move-and-every-other-event-disappears.102874/




