RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[Request] Skill memory for job classes (unsure if can be done using events)

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 82
The crazy, scissors-wielding demoness
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)
« Last Edit: January 08, 2010, 11:12:17 AM by meiko_suzuki »
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!

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Put this in a call script:

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

**
Rep:
Level 82
The crazy, scissors-wielding demoness
Put this in a call script:

Code: [Select]
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!

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
yes, you do. And it just goes into a call script event command.