class change goes to level one

Hey people of rpg.

So im encountering a little problem in my game. One of the main characters starts off with "???" as a class as he has amnesia. As you play through he eventually remembers who he is in a cut scene and his class changes from "???" to "vampire hunter" but when it gets changed you go back to level one and I don't want that at all just for this one character! I'm using yanfly class core plug in, please and thank you are in advance, if there is anything else needed let me know 😀
It's simple, you don't need class core.

Just change a vampire hunter class from a ??? class with the Change Class event and set his level back to 1 with the Change Level event.
but I don't want him to be level one, I want him to retain his level just have the class change.
Use control variable to learn how much EXP the actor has before the class change and then use the other event commands to give those points back after the class change.
Oh, I misread.

Hmm

I actually don't know, never experimented, apologies for the setback.
@Andar I can do that without knowing what level the player will be ?
That is what the variable is for - that command tells you either the level or the EXP of the actor at the moment you use it, and then you have that value stored when giving the points after the class change.
Of course all three commands (read value, class change and give value) need to be executed in a single event, if something else happens between them you can no longer guarantee that the numbers fit.
oh awesome, I will give it a shot and see how we go 😀
This is how I have it and it isn't working, help/advice ?
@Andar advice/help please 😀
You're storing the EXP so use the Gain Experience option after the class change to add that variable's value back to the character (given that the command accepts a variable).
As said the third command is wrong, you'll need the command to change the EXP of the actor and use the variable inside it to set how much EXP the actor should get.
Thank you so much people works perfectly now 😀

Original thread: https://forums.rpgmakerweb.com/threads/class-change-goes-to-level-one.96125/