The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: fanara on January 28, 2008, 12:44:45 PM

Title: [HELP]Class Choose
Post by: fanara on January 28, 2008, 12:44:45 PM
Hello! Id like to know, how to make a script/event or smt so that i can choose the classes for each of my members in the players group! Is this possible? (including the skills of each class)
Title: Re: [HELP]Class Choose
Post by: modern algebra on January 28, 2008, 03:28:54 PM
Yeah, it's possible. There is an event command that allows you to change an actor's class.

For skills though, you will need to be more creative since skills are assigned by actor, not by class. You can use a script if you want, or the other possibility is to arrange it so that you have multiple repeat actors in the database, each with their own skillsets, and when you choose class you switch your hero to be the one with the skillset for that class.
Title: Re: [HELP]Class Choose
Post by: fanara on January 28, 2008, 09:27:59 PM
is there a way to make an NPC to learn the player skills at some lvl? (maybe in exchange with gold)
Title: Re: [HELP]Class Choose
Post by: Falcon on January 28, 2008, 09:39:06 PM
Please learn to use events before you ask for every single thing. All you need is conditional brances to check gold and level.
Title: Re: [HELP]Class Choose
Post by: fanara on February 01, 2008, 02:29:05 PM
guys, i found out how to chance class, but stats dont change! How can i change them?
Title: Re: [HELP]Class Choose
Post by: modern algebra on February 01, 2008, 04:42:43 PM
Quote
For skills though, you will need to be more creative since skills are assigned by actor, not by class. You can use a script if you want, or the other possibility is to arrange it so that you have multiple repeat actors in the database, each with their own skillsets, and when you choose class you switch your hero to be the one with the skillset for that class.

Same thing to change the stats
Title: Re: [HELP]Class Choose
Post by: fanara on February 01, 2008, 06:55:52 PM
ok thanks! btw, we could just remove the actor currently in our group, and just add the one chosen, couldnt we?
Title: Re: [HELP]Class Choose
Post by: modern algebra on February 01, 2008, 06:58:06 PM
yeah
Title: Re: [HELP]Class Choose
Post by: fanara on February 02, 2008, 09:02:49 AM
ok! cause this seems easier, and without so much trouble! thank you for your help!
Title: Re: [HELP]Class Choose
Post by: fanara on February 02, 2008, 10:21:16 AM
sry for double posting, but now that i change the actors, the event that i created to change the name of the hero, changes the name of the actor that have been removed! So, do you know any combination of events/script, to change the name of the actor that have been selected in the beggining?
Title: Re: [HELP]Class Choose
Post by: modern algebra on February 02, 2008, 04:15:50 PM
Umm, try this:


Name Input Processing: Actor[1]




After you finish choosing class, use this:


Script : name = $game_actors[1].name
          : $game_party.actors[0].name = name


That exact code will only work if the chosen party member is in the first slot, but an equivalent code could be used in another situation. And in case you don't know where the script command is, it's at the bottom of the list in the third tab of event commands.
Title: Re: [HELP]Class Choose
Post by: fanara on February 02, 2008, 10:24:29 PM
works like a charm!!!! thank alot, again! youre very helpful!!!