SIMPLE PARTY CHANGE

Can be Copy-Pasted for more!

-=Intro=-
Have you ever thought to yourself, as a beginner in RPG Making, that you want more than 4 Characters in your party (Aside from VXAce, of course!), but you don't know how to go about that? It's relatively simple, but there are so many ways to go about it! From changing the party members every once in a while, to using an extensible amount of event coding to have a full blown custom menu! Well, this is one of the simpler ways and all you have to do is change a few variables and maybe the event's graphic (if you want) to have more! What's even better is the fact that this is limitless because you don't need a dozen switches and variables for each one! No restrictions! Aside from the number of events you can have on each map without causing lag of course!

This will require further knowledge of RPG Maker if you wish to have, say... more than 1 member in the party! Lol. No, I'm being pretty serious right now. o.o It's actually quite simple, you'd just need another variable.

-=Requirements=-
#1 - 1 Variable.
Nope, that's it! That's all yo-... well, you need to know how to USE variables, and have common knowledge of event pages... and labels... maybe common events.

-=Process=-
#Step 1~
Create a new event, name it whatever you want. Set a variable, give it a name, and set it to the ID of the Actor you want to switch to. Rather simple, yes? This will come in very handy later!

So far, it should look like this (Note, I'm using RPG Maker 2009 Ultimate, so my text MAY be a bit different.):
<>Variable Oper: [0111:#Name] Set, 12


Yours won't be exactly like this, you may be using a different variable number, variable name, or actor ID.

#Step 2~
Add a Label, label 1 if you will, right after the Variable. This is useful if you want it to go back to the beginning, or if you want to play a sound effect ONLY when you first start the event. This sound, of course, would be placed before the Label. Then, add a message; this message can be whatever you like, really. Here's how mine is structured.

<>Variable Oper: [0111:#Name] Set, 12

<>Label: 1
<>Message: What would you like to do with \n[\v[0111]]?


What does this do? It gets the number from my variable, which is 12, which is the actor's ID. After it does this, it parses this number and acclaims the actor's name, which it then displays in the message.

#Step 3~
Add a Conditional Branch now! You can add as many things as you want with this, go crazy. But for this tutorial, we're going to add only two commands. Switch and Nothing. Switch will add this character to your party, BUT it will remove everyone else first. This is where I used a common event, because, if you have a lot of characters, this can make it really lengthy and harder to edit if you need or want to add in more characters in the future or something. In the Switch handler, add another message command. Set it up however you like, but basically ask the user to confirm the choice they just made. Whether or not they chose this action by accident or if they really would like to go through with this choice. This is how it looks so far:

<>Variable Oper: [0111:#Name] Set, 12

<>Label: 1
<>Message: What would you like to do with \n[\v[0111]]?
<>Show Choices: Switch/Nothing
: [Switch] Handler
<>Message: Use \n[\v[0111]] in your party instead of \n[0]?
<>Show Choices: Yes/No
: [Yes] Handler
<>Call Event: removeAllFromParty
<>Change Party Members: V[0111] Add
<>
: [No] Handler
<>Jump to Label: 1
<>
: End
<>
: [Nothing] Handler
<>
: End


And that's everything! But first, I should explain it. You know that the \n[\v] displays the character's name from the number in the variable, correct? But what's that event, "removeAllFromParty"? It's exactly what it says it is! It's a common event that just takes everyone from the party. Plain and simple. Otherwise, all of that would clutter up my event! Then, I add the desired party member to the party. How, you may be asking? Variable 111 is set the the ID of the Character, as we set at the start of the event. Change Party Members gets that ID from the variable and adds that specific Character to your party! It's really easy and simple. BUT WAIT! We don't want to be adding a character that's already in the party, right? That'd be silly. In this case, you'd create a new Page!

#Step - 4~
Change the graphic of this event to a blank one, then check the checkbox in front of HERO in the preconditions. Scroll down to the Hero you picked for this event to add, and VIOLA! You have your event!

-=Conclusion=-
This is a really easy event and it can be used in so many ways. But the thing you ought to take from this tutorial are the different things I did during it. Don't just learn how to use this, but learn FROM it. Take everything here and put it to use in another situation. That's how you really learn; that's what my tutorial is really useful. I may go back and explain how to do this so you aren't limited to one character in your party, but right now I'm starving, my hands are starting to shake really bad, and my allergies are really getting in the way. If there's anything you feel is wrong or missed in this tutorial, please feel free to tell me so I can fix or add it. While I made this tutorial for others to learn from, I can always learn a thing or to as well!

Oh yeah, when you copy this event, all you have to edit is the number of the actor you want to switch to in that event (The variable) and the actor in the precondition on the second page! I really should add pictures, but gosh darnit I'm feeling so bad right now... For right now, this'll have to do!