Heya, I just bought RMMV a couple days ago, so go easy on me if this a silly question. I'm just curious if there's a way for someone to have complete control over the Player while there is an Event running. Basically, I want an Event(NPC) to be walking around to simulate searching for an item while the Player does his own search.
Any way to move the Player while an Event is running?
RPG Maker MV SupportIf the player cannot walk while the event is moving, then you have an autorun event active - only that can stop player movement.
You should never use autoruns for event movement unless you're making a cutscene where you want the player to sit back and watch.
Basically, you made mistakes in the event and we would have to see a screenshot of it to tell you where the mistakes are if the comments above don't help.
But I also suggest you follow the link to the starting point in my signature and work through those tutorials to learn the basics.
You should never use autoruns for event movement unless you're making a cutscene where you want the player to sit back and watch.
Basically, you made mistakes in the event and we would have to see a screenshot of it to tell you where the mistakes are if the comments above don't help.
But I also suggest you follow the link to the starting point in my signature and work through those tutorials to learn the basics.
You can also just use the Autonomous movement option of Events to make him move around the map, and set him to action trigger.
Well, I have a cutscene that I want to start as soon as I enter the map, but as soon as the cutscene ends I want the Event(NPC) running the cutscene to start searching around. Is there another way to activate the second part of the event without having it on Autrorun? I don't want the player to have to go up to the Event and activate it manually. I could possibly create a 2nd event that'll start on Event Touch and tell the first event to..touch it... but I'm trying to figure if this is possible to do with 1 event. Thanks for the help!
I actually read a majority of your tutorial, and the one form Kelsper as well, they were both very helpful and informative, thanks for taking the time to make it ^.^
Basically I want everything below the line in the 3rd picture to continue to happen, but I want to give the Player back control at this point as well. The Event isn't finished yet and there'll be more below the line later. Here's what I've got so far:
Could you elaborate or point me somewhere that explains Autonomous Movement in depth? I'm not quite sure how the mechanics of this option works. Thanks a bunch!
Maybe Andar's tutorial explains it (you can also just look at Move Route event command tutorials, I'm not really fond of reading them since most of them were made after I am already using RPG Maker and I'm not mostly online too so I don't know which things have tutorials)..
basically if you know how to use the Move Route event command, the Autonomous Movement work the same. The only difference is that it's automatically ran as long as that Event page is active. (It's more or less like running a parallel process event that makes an event move every few frames). You can even choose either random movement or a specific custom move route that the event will loop on itself. And since it's automatic, you can make the Event move and still have it's own event commands at the same time.
basically if you know how to use the Move Route event command, the Autonomous Movement work the same. The only difference is that it's automatically ran as long as that Event page is active. (It's more or less like running a parallel process event that makes an event move every few frames). You can even choose either random movement or a specific custom move route that the event will loop on itself. And since it's automatic, you can make the Event move and still have it's own event commands at the same time.
@Anime-Addiction You need to end the cutscene when you want to give control back to the player - currently you don't end it at all, because neither the control switch nor the exit event processing at the end will do that.
Autoruns loop, which means "exit event processing" will only restart the event, and the control switch cannot work because you don't have a second page to switch to (the control switch command alone does nothing).If you had that switch correctly installed, you wouldn't have needed the conditional branch at start to turn the cutscene into a lag-producing endless loop (which is another problem)
The part that should happen after the cutscene needs to be done by autonomous movement on a new event page (for example the one you switch to)
Additionally there is one thing you should also learn for your next cutscenes: don't place the commands for cutscenes on the NPCs, make it a controlling event somewhere else and control the NPC-events remotely. There isn't much difference for a single-NPC-cutscene, but if your cutscene involves several NPCs that is vital.
Autoruns loop, which means "exit event processing" will only restart the event, and the control switch cannot work because you don't have a second page to switch to (the control switch command alone does nothing).If you had that switch correctly installed, you wouldn't have needed the conditional branch at start to turn the cutscene into a lag-producing endless loop (which is another problem)
The part that should happen after the cutscene needs to be done by autonomous movement on a new event page (for example the one you switch to)
Additionally there is one thing you should also learn for your next cutscenes: don't place the commands for cutscenes on the NPCs, make it a controlling event somewhere else and control the NPC-events remotely. There isn't much difference for a single-NPC-cutscene, but if your cutscene involves several NPCs that is vital.
@Andar Okay, after reading this and doing some tinkering I was able to give the player back control by hopping to a new event page like you said. Yay! Thanks for the help on that one. I'm posting the event as it is now for 3 reasons:

Red: This Conditional Branch will check if 'Self Switch A' is OFF, if it is, it will run the cutscene. Later on in the event I turn 'Self Switch A' ON so the cutscene will only run the first time the Player enters the map. Notice that the Trigger is set to Autorun, this will eliminate your control of the Player until the event stops running.

This is just inconsequential conversation, it has no impact on the actual event.

Red: This is where I turn 'Self Switch A' ON, so the cutscene will never run again.
Blue: This activates the 2nd Event Page(Picture 4)
Yellow: This is the Else command for the Conditional Branch. That means if the condition to run the If branch is not met, that condition being 'Self Switch A' is OFF, the Else branch will run instead. I have the Else branch Erase Event, since I don't want the cutscene to be played again.

Blue: This is why I flipped 'Self Switch B' ON on Event Page 1(Picture 3). This will run my desired movements for the event while simultaneously giving the Player back control since this Event Page's Trigger is not set to Autorun.
I've run in to 1 more problem. How do I stop Event Page 2 from running after the first run? If I flip 'Self Switch B' OFF at the beginning of the event, the event stops immediately. If I flip 'Self Switch B' OFF at the end of the event you have to wait until the Set Movement Route command finishes for the switch to flip, but if the player leaves the map before it's flipped to OFF, Event Page 2 will stop running and never reach the command to flip the switch. This will cause Event Page 2 to start running at the event's original position when the Player returns to the map. Besides not letting the player leave the map, how would I go about solving this? Is it possible?
Thanks again for all the help!
- So you can take a looksie and tell me if there's a better way to execute something.
- You mentioned an endless loop, I believe I fixed it with the new Else branch(Yellow Box)... did I?
- So anyone experiencing the same problem at me can take a looksie and work out what they need to do. I tried to make it as simple as possible.

Red: This Conditional Branch will check if 'Self Switch A' is OFF, if it is, it will run the cutscene. Later on in the event I turn 'Self Switch A' ON so the cutscene will only run the first time the Player enters the map. Notice that the Trigger is set to Autorun, this will eliminate your control of the Player until the event stops running.

This is just inconsequential conversation, it has no impact on the actual event.

Red: This is where I turn 'Self Switch A' ON, so the cutscene will never run again.
Blue: This activates the 2nd Event Page(Picture 4)
Yellow: This is the Else command for the Conditional Branch. That means if the condition to run the If branch is not met, that condition being 'Self Switch A' is OFF, the Else branch will run instead. I have the Else branch Erase Event, since I don't want the cutscene to be played again.

Blue: This is why I flipped 'Self Switch B' ON on Event Page 1(Picture 3). This will run my desired movements for the event while simultaneously giving the Player back control since this Event Page's Trigger is not set to Autorun.
I've run in to 1 more problem. How do I stop Event Page 2 from running after the first run? If I flip 'Self Switch B' OFF at the beginning of the event, the event stops immediately. If I flip 'Self Switch B' OFF at the end of the event you have to wait until the Set Movement Route command finishes for the switch to flip, but if the player leaves the map before it's flipped to OFF, Event Page 2 will stop running and never reach the command to flip the switch. This will cause Event Page 2 to start running at the event's original position when the Player returns to the map. Besides not letting the player leave the map, how would I go about solving this? Is it possible?
Thanks again for all the help!
that is because you used self-switch A in the wrong way - it should have been used in the same way as you now use self-switch B, resulting in a total of three pages.
On the first page, copy the contents of the conditional branch self-switch A = off to outside that conditional branch and completely delete that conditional branch.
At the position where you now have two control self-switch commands, there should be only control self-switch A.
the second page should be conditioned on that self-switch A, not B - and at the end of that second page, there you control self-switch B to on.
and the third page should be completely empty and conditioned on that self-switch B.
On the first page, copy the contents of the conditional branch self-switch A = off to outside that conditional branch and completely delete that conditional branch.
At the position where you now have two control self-switch commands, there should be only control self-switch A.
the second page should be conditioned on that self-switch A, not B - and at the end of that second page, there you control self-switch B to on.
and the third page should be completely empty and conditioned on that self-switch B.
Original thread: https://forums.rpgmakerweb.com/threads/any-way-to-move-the-player-while-an-event-is-running.73351/


