So, I'm using YEM, and I have certain instances--namely, when characters age as part of the story--where I would like to be able to teach a passive skill to a character VIA an event. The reason for this is that I want the aged character (with a new field sprite, face, profile picture, and battle animation set) to have the the learned passives carry
over from the younger version of that character.
I have attempted this VIA the script function in the events editor, but I'm having trouble finding the right code to call the function of the script that would attach a
passive to that character.
I can, of course, just add the state to that character with an event, but it doesn't show the passive associated with that state as having been learned and can be selected again for learning.
I know it has to have something to do with the section with @actor.learn_passive(passive.id), but I cannot figure out how to target a specific actor with it.
If this cannot be done, I'll either have to find a way to code in a linked passive learning, or create some other way of learning these passives I created.
EDIT: Forgot to attach YEM Skill Overhaul. Unlike a lot of YEM, I have not edited this outside of the User Settings. I doubt highly that any of my changes to YEM could affect the function of this script.