So one of the core mechanics of my project is that your party's battlers are always in 1 of 4 states (power, magic, speed, defense) which alters their stats and skills (the states utilitize the Learn: Skill trait for this). This is going fine for me while testing and building a demo. However I realized that during the game I wanted skills to be learned through events. For example paying a tutor, ,going to class, beating a boss, finding an item etc.
So I asked myself if all the skills are learned from the states using the Learn: Skill traits is there a way to hide them from the player until the event switch is activated.
The closest solution I could come up with was to use the TEP Skill Core plugin and the Custom Show note tag
this is their example on the page.
Skill Notetag:
<Custom Show Eval>
if (user.level > 50) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
What I think I need is the event ID and switch state to be able to replace the "if (user.level" part but I'm not sure what to put in there. So I've come to ask you all for help.
Edit for clarification: one of the reasons I'm not using the level up for skill learning is that between parts of the plot, your party is a "free roam" state with action points to improve your party before moving on to the next major story part. Think of it as time passing in between major parts of the story and your actors are busy improving themselves or acquiring resources.
So I asked myself if all the skills are learned from the states using the Learn: Skill traits is there a way to hide them from the player until the event switch is activated.
The closest solution I could come up with was to use the TEP Skill Core plugin and the Custom Show note tag
this is their example on the page.
Skill Notetag:
<Custom Show Eval>
if (user.level > 50) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
What I think I need is the event ID and switch state to be able to replace the "if (user.level" part but I'm not sure what to put in there. So I've come to ask you all for help.
Edit for clarification: one of the reasons I'm not using the level up for skill learning is that between parts of the plot, your party is a "free roam" state with action points to improve your party before moving on to the next major story part. Think of it as time passing in between major parts of the story and your actors are busy improving themselves or acquiring resources.