The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: ryanpokekool on October 28, 2009, 09:51:50 AM

Title: (request)character changing event
Post by: ryanpokekool on October 28, 2009, 09:51:50 AM
Hi Ive been fiddling around on rmxp making simple switch events ;D

but i want to make a game where you have a team base and as you recruit more members more people are in the base  but i don't know how to add then to the team and put a current party member in the base i has a rough idea how to do it but it involves Lot of switches  and conditional  branches (BTW there is 18 recruits)
Title: Re: (request)character changing event
Post by: modern algebra on October 28, 2009, 06:36:38 PM
The simplest way I can think of is to (A) keep track of who is in the party at any given time with variables, which could be done with a relatively simple add and remove player common event. Thus, you'd need 4 variable to track the IDs of whoever is in each position of the party.

Then, give each of the party members a switch - turn it ON when they are in the party. In the base, if their switch is on and they are not members in the party, thne have them show up. Otherwise, do not. It may seem complicated from the way I describe it, but it's really not.

You have plenty of switches and variables to spare, so reserving 18 switches and 4 variables is not a bad thing at all.