Changing parties

Aloha,
I was wondering if there's any way I can give the player the ability to change parties by pressing a binded key.
Thank you for your time.
People say this works with MZ even though it's an MV plugin

To bind it to a key you would have to put the party change command in a common event and use VisuStella Button Common Events
People say this works with MZ even though it's an MV plugin

To bind it to a key you would have to put the party change command in a common event and use VisuStella Button Common Events
I intalled the Plugin you recommended and binded the switch button to "PgUp". Somehow I got an error.
You're not using a common event like I said to. Your event 41 should be in a common event and you don't need to check for the button press if you're using the button common events plugin. And your event 3 is a parallel process running on the map telling the engine to create the party and add actors 60 times a second. You need to decide how and when you want to create that party. Automatically on map entry, or when the player does something (i.e. talk to an NPC).
You're not using a common event like I said to. Your event 41 should be in a common event and you don't need to check for the button press if you're using the button common events plugin. And your event 3 is a parallel process running on the map telling the engine to create the party and add actors 60 times a second. You need to decide how and when you want to create that party. Automatically on map entry, or when the player does something (i.e. talk to an NPC).
Noob question here, how can I move my character again when autorun is active? Anyway I can turn it off in-game if I need to?
Noob question here, how can I move my character again when autorun is active? Anyway I can turn it off in-game if I need to?
How are you turning on the switch? Put Control Switch 23 under Conditions on the left side and remove it from the first line on the page. And remove the self switch A off at the end because it is not doing anything.

You can set this event to parallel if you want, since it will only run if the switch is turned on, run the commands on the page, then turn the switch that started it off at the end.
How are you turning on the switch? Put Control Switch 23 under Conditions on the left side and remove it from the first line on the page. And remove the self switch A off at the end because it is not doing anything.

You can set this event to parallel if you want, since it will only run if the switch is turned on, run the commands on the page, then turn the switch that started it off at the end.
I was hoping that the switch would turn on and off itself. Anyway, I tried making this thing it's own common event, but I think I messed up somewhere.
There are a lot of issues here, but before I can tell you how to correct them: Are using Visustella Button Common Events, and can you describe when you want the party to be created? If you say you want the "switch to turn itself on and off" it doesn't really make sense to use a switch at all. If you want the party to be formed automatically when the player enters the map, that can be done, but you need to clarify whether you want this to happen every time the player enters the map or only the first time the player enters the map.
There are a lot of issues here, but before I can tell you how to correct them: Are using Visustella Button Common Events, and can you describe when you want the party to be created? If you say you want the "switch to turn itself on and off" it doesn't really make sense to use a switch at all. If you want the party to be formed automatically when the player enters the map, that can be done, but you need to clarify whether you want this to happen every time the player enters the map or only the first time the player enters the map.
I'm not using the plugin since I was hoping I can get by with the Page Up button, and I was hoping to create the party when the first party enters the map for the first time.
I'm not using the plugin since I was hoping I can get by with the Page Up button,
You can do it that way, but you will need to set your common event to a parallel process, which means the engine is checking 60 times a second whether the player is pressing that button and can slow down/lag your game depending on what else is happening. You can make it check less often, but then the player might be pressing the button when the engine is not checking and it will miss picking up the button press.

and I was hoping to create the party when the first party enters the map for the first time.
So you want the party to be formed as soon as the player enters the map for the first time? Then remove the switch check conditional from the left, remove all the current switch commands, and put Self Switch A: ON at the end of the page. Then create a new blank event page with the self switch A checkbox checked.
You can make it check less often
You definitely can. Think of it this way, if it is checking every frame, and the game is running at 60fps that means it's 17ms per frame, which is really fast. I played around with a get button push script, and I believe I was able to settle on a wait time of 3 frames without it feeling sluggish and unresponsive (I'll need to double check that number though, since I am not at home right now - pretty sure it was 3 or 6)
Regardless, it would head up processing headroom, so if you could use a button common event plugin, it would probably run more efficiently than an event waiting for an input.
You can do it that way, but you will need to set your common event to a parallel process, which means the engine is checking 60 times a second whether the player is pressing that button and can slow down/lag your game depending on what else is happening. You can make it check less often, but then the player might be pressing the button when the engine is not checking and it will miss picking up the button press.


So you want the party to be formed as soon as the player enters the map for the first time? Then remove the switch check conditional from the left, remove all the current switch commands, and put Self Switch A: ON at the end of the page. Then create a new blank event page with the self switch A checkbox checked.
Thank you so much for your help. The new Plugin is now working like a charm! 😀

Original thread: https://forums.rpgmakerweb.com/threads/changing-parties.159258/