Main Menu
  • Welcome to The RPG Maker Resource Kit.

[HELP]Class Choose

Started by fanara, January 28, 2008, 12:44:45 PM

0 Members and 1 Guest are viewing this topic.

fanara

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)

modern algebra

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.

fanara

is there a way to make an NPC to learn the player skills at some lvl? (maybe in exchange with gold)

Falcon

Please learn to use events before you ask for every single thing. All you need is conditional brances to check gold and level.

fanara

guys, i found out how to chance class, but stats dont change! How can i change them?

modern algebra

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

fanara

ok thanks! btw, we could just remove the actor currently in our group, and just add the one chosen, couldnt we?

modern algebra


fanara

ok! cause this seems easier, and without so much trouble! thank you for your help!

fanara

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?

modern algebra

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.

fanara

works like a charm!!!! thank alot, again! youre very helpful!!!