How to change lead characters in RPG Maker MV?

Alright so I'll try to keep this simple. In the project I'm working on, the protagonists are twins, and I wanted to have both of them able to be playable as separate characters at one point in the story, that the player can control. The thing is, when I go to remove the "main protagonist" from the actor list in the event, the sprite of the new character shows up for a split second then disappears. I've tried to add a filler character, thinking the original problem was that the program was tripping because there was supposedly no character to control. Same result.


Could you please help me? I attached the code that was used.


EDIT: Oh wait, I'm dumb, theres an even simpler way to ask this. Is there any other way for me to change lead characters and not be stuck on the scene?


Screen Shot 2017-01-28 at 11.14.49 PM.png
Tech support is for problems getting the engine to work.  "How do I...?" queries go to the Support forum for the engine you are using.


I've moved this thread to RPGMaker MV Support. Please be sure to post your threads in the correct forum next time. Thank you.
If you want to change party members, the way you've done it in the screenshot is correct.  If you already have both members and you want to swap them around, you'd need a script call, but you need to provide some more information before I can tell you what that script call would be.


I don't understand what you mean by "not be stuck on the scene" as your entire post didn't mention anything about being stuck anywhere, or what scene you're on.
If you want to change party members, the way you've done it in the screenshot is correct.  If you already have both members and you want to swap them around, you'd need a script call, but you need to provide some more information before I can tell you what that script call would be.


I don't understand what you mean by "not be stuck on the scene" as your entire post didn't mention anything about being stuck anywhere, or what scene you're on.

Allow me to specify then. Basically, when the event gets erased, you can't do anything. The character doesn't show up, you can't move, you can't open the menu, in short, you're stuck.


I'm not sure what details I can give about the event that'll be useful, its on autorun, and I've tried setting the event with and without an image, and it doesn't make a difference.
Are you talking about the second page?  If there are no commands on it, then it DEFINITELY shouldn't be on autorun.  Autorun events block player input while they're active, and they loop, so they're always active until you use Erase Event to get rid of it (temporarily - it'll be there again when you leave the map and return), or when you make it switch to another page that isn't autorun.


Please show a screenshot of the event page that's set to autorun, and where the event is "erased", if you can't figure it out.  It sounds like you're not "erasing" it the right way.
Are you talking about the second page?  If there are no commands on it, then it DEFINITELY shouldn't be on autorun.  Autorun events block player input while they're active, and they loop, so they're always active until you use Erase Event to get rid of it (temporarily - it'll be there again when you leave the map and return), or when you make it switch to another page that isn't autorun.


Please show a screenshot of the event page that's set to autorun, if you can't figure it out.  It sounds like you're not "erasing" it the right way.

Well, theres no second page, but this is what i got.

Screen Shot 2017-01-29 at 12.02.07 AM.png

Screen Shot 2017-01-29 at 12.02.21 AM.png
Can you please show the WHOLE event window?  The tabs at the top, and the conditions and triggers and everything on the left, are just as important (if not more important) than the list of commands.  Whenever you provide a screenshot, it's best to ALWAYS show the full event window rather than just the list of commands.  Alt+PrintScreen with no cropping will give us the best view.


I must have confused your post with someone else's, re the second screen.


Still, complete freezing is caused by an autorun event.  The Erase Event SHOULD stop this one from running (but unless you want it to run again when you come back to this map, you should really change that to turn on a self switch, then add another page conditioned by that self switch, with no other changes).  Any chance there's another event on that map, or a common event, that's set to autorun?  Especially one with no commands.
Can you please show the WHOLE event window?  The tabs at the top, and the conditions and triggers and everything on the left, are just as important (if not more important) than the list of commands.  Whenever you provide a screenshot, it's best to ALWAYS show the full event window rather than just the list of commands.  Alt+PrintScreen with no cropping will give us the best view.


I must have confused your post with someone else's, re the second screen.


Still, complete freezing is caused by an autorun event.  The Erase Event SHOULD stop this one from running (but unless you want it to run again when you come back to this map, you should really change that to turn on a self switch, then add another page conditioned by that self switch, with no other changes).  Any chance there's another event on that map, or a common event, that's set to autorun?  Especially one with no commands.

I double checked and, yeah, there was another event on auto run. No effect, still stuck.

my pride..png
Keep looking - if you're still stuck, there are more.


Alt+PrintScreen will get a better screenshot - no desktop background, which shrinks the picture and makes it harder to read.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-lead-characters-in-rpg-maker-mv.74251/