How to add the player's XP value to a party member

How do I add the main character's current xp value to a party member when they get added to the party? For some reason, when I add the main character's EXP value, the party member gets boosted to max level instead. What am I doing wrong here?

Capture.PNG
Well you're setting the new actor to the same level as the original and then you're adding on experience, but your actually adding on levels, not experience.

That process is setting fey to charles's level then adding charles's experience as levels to fey.
You either set to the same level OR you add on the experience not the levels.

If you know the actor id for the actor being added, then you can just do a script call function to set the experience.
variable = $game_actors[1].exp
$game_actors[2].exp = variable
OMG, I feel so stupid, how did I not notice that before? Thanks for the help, it's fixed now.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-the-players-xp-value-to-a-party-member.146157/