Change Actor but keep name?

I am setting up my class change that happens at a certain level all classes have a certain level cap
and I want to change appearance based on class choice
easiest way i can think of is make a new actor based on class choice.
Main Characters name can be chosen by the player so i need a way to change the Actor on class change but keep the chosen name. Anyone have a idea on how i could do this?
Or am i once again overthinking things making it to hard on myself 😛
Hi! I had something similar that I needed help with a while back!
Hopefully this helps you.
https://forums.rpgmakerweb.com/inde...ctors-name-as-a-variable.114246/#post-1009010
Awesome!
I am guessing here:
Code:
$gameActors.actor(Y).setName($gameActors.actor(X).name())
I change Y to the ID of the Main char and X to the changed one?

Edit: Reading it again i think its the other way around 😛


Edit2: Yeah i got it thanks a ton!

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/change-actor-but-keep-name.117021/