Main Menu

[Request] Skill memory for job classes (unsure if can be done using events)

Started by meiko_suzuki, January 08, 2010, 11:04:07 AM

0 Members and 1 Guest are viewing this topic.

meiko_suzuki

So basically, I have classes that have specific skills. I am making the characters able to switch classes, but cannot seem to have their skills switch along with the class. I've figured out how to keep the level of each class, but how to swap skills (and ensure that the level+skill is correct) eludes me.


EG. Character starts out as...Swordsman, level 1. Knows Double Strike. Character switches to Healer, level 3, which knows Cure and Antidote.

How can I make it so the skills are correct per class per level when the class is changed, removing the original class' skills and replacing it with the new class'?


Any help, or moving this to an event board if necessary, would be great.  ;)

Thanks!

-Meiko

UPDATE: Eventing failed...I need a quick way to clear a character's skill set. If someone can figure that out for me, I can take it from there  8)
Game in the works:
The Adventures of the Generic Hero(ine)
Gameplay: 20%
Mapping: 10%
Characters: 80%
Events: 30%
Ways to Die: 30%
Cliches: 65/192
?? ??
PROFIT!

modern algebra

Put this in a call script:

actor = $game_actors[actor_id]
actor.skills.each { |skill_id| actor.forget_skill (skill_id) }

meiko_suzuki

Quote from: modern algebra on January 08, 2010, 12:28:47 PM
Put this in a call script:

actor = $game_actors[actor_id]
actor.skills.each { |skill_id| actor.forget_skill (skill_id) }


....I am a newb of epic proportions, so I dunno where or how XD

Do I need to enter numbers for the IDs?
Game in the works:
The Adventures of the Generic Hero(ine)
Gameplay: 20%
Mapping: 10%
Characters: 80%
Events: 30%
Ways to Die: 30%
Cliches: 65/192
?? ??
PROFIT!

modern algebra