Relevant plugin: YEP_ClassChangeCore
I have FINALLY figured out the plugin commands. lol. Ive got my first class change event scripted and working, and even switches so the player cannot go back to previous class, or a class not currently in their path (physical/magical).
Now my challenge is this:
I want to make it so at class level 10, the player can go to the ClassChange NPC I made to get promoted.
My problem:
Because I have a switch that says [if class 2a/b =ON, Text "cant change classes", END], even though actor is level 10 in class 2a/b, it refers to that message. (its worth noting that I also have a note tag on class 3a/b with [level unlock requirements = class 2a/b= level 10])
EDIT:
I kept digging and eventually found the game data tab under variables. Now my problem is getting the if statement to work. I managed to get it to work on [if level <10 = TRUE, Text "Level not high enough", END], but cannot figure out the >10 or =10 to run.
Solution I'm looking for:
I'm trying to figure out an [if] statement that calls up the actors current class level to check if level requirement is met, if true it moves to the class change menu.
so something like this:
.if [actor]class level = level 10
....Text: "Youre eligible for promotion! Would you like to proceed?"
....Option: etc, etc, etc...
....if yes
........UnlockClass 1 3a/b
........EnablePrimaryClassChange 1
........OpenClass
and so on.
is there a way to assign an actor level as a variable or switch for this kind of [if] statement? if so, could you provide me an example or a tut (if one is available)? If it helps i can even show you my current event script thus far.
As always, thank you in advance! 😩
I have FINALLY figured out the plugin commands. lol. Ive got my first class change event scripted and working, and even switches so the player cannot go back to previous class, or a class not currently in their path (physical/magical).
Now my challenge is this:
I want to make it so at class level 10, the player can go to the ClassChange NPC I made to get promoted.
My problem:
Because I have a switch that says [if class 2a/b =ON, Text "cant change classes", END], even though actor is level 10 in class 2a/b, it refers to that message. (its worth noting that I also have a note tag on class 3a/b with [level unlock requirements = class 2a/b= level 10])
EDIT:
I kept digging and eventually found the game data tab under variables. Now my problem is getting the if statement to work. I managed to get it to work on [if level <10 = TRUE, Text "Level not high enough", END], but cannot figure out the >10 or =10 to run.
Solution I'm looking for:
I'm trying to figure out an [if] statement that calls up the actors current class level to check if level requirement is met, if true it moves to the class change menu.
so something like this:
.if [actor]class level = level 10
....Text: "Youre eligible for promotion! Would you like to proceed?"
....Option: etc, etc, etc...
....if yes
........UnlockClass 1 3a/b
........EnablePrimaryClassChange 1
........OpenClass
and so on.
is there a way to assign an actor level as a variable or switch for this kind of [if] statement? if so, could you provide me an example or a tut (if one is available)? If it helps i can even show you my current event script thus far.
As always, thank you in advance! 😩