For some reason, the actor change class command is not adding the new class skills when I change an actor to a new class. I have implemented this in a choose a class menu at the beginning of my game.
Actor change class not learning new skills
RPG Maker VXAce SupportThat's because the new skills are not automatically added.
You can use this
http://himeworks.wordpress.com/2013/08/06/utils-class-changing/
You can use this
http://himeworks.wordpress.com/2013/08/06/utils-class-changing/
I tried that, but it still wouldn't work.
Here's what I did
change_class (1, 1)
the first 1 being the "no class actor"
the second 1 being the first actual class
Here's what I did
change_class (1, 1)
the first 1 being the "no class actor"
the second 1 being the first actual class
Verify that the new class skills can be learned (eg: level requirements met, skill type feature added, etc)
Manually teach the skill and see if it shows up as expected.
Manually teach the skill and see if it shows up as expected.
It works well after I added the first skill manually and tested a level up. The skills are learned normally. Thanks.
If the skills are learned at level 1 (or whatever your level is), they should automatically be added.
Or at least, that was the original purpose of the script.
Or at least, that was the original purpose of the script.
For some reason they were not added automatically, even with the script. That's why I had to make the actor learn the first skill manually after the class change for it to work.
Try it in a new project with just that script and see if it works.
If it doesn't then there might be something wrong with the way your classes are set up.
If it doesn't then there might be something wrong with the way your classes are set up.
I tested it in a new project turning one of the default actors from a "no class" class to one of the default classes with the first skill to be already known at level 1. I made a short event with the script, then tested it in game.
The actor changed his class and his stats changed as well, but he did not learn his level 1 skill.
The actor changed his class and his stats changed as well, but he did not learn his level 1 skill.
When I create a new project and set Monk class to learn "tackle" at level 1 and then change Eric's class from soldier to monk in-game using
He learns the "tackle" skill.
Code:
change_class(1, 2)
Original thread: https://forums.rpgmakerweb.com/threads/actor-change-class-not-learning-new-skills.18138/