Hello!
I wanted to change the playable character to another actor (not just change graphic)
I also need to include variables, cause I have alot of possible actors to turn into.
I tried this code, to add and remove an actor so the hero would be the added character.
It kinda works. The hero change in the menu, but the hero sprite on the map doesn't change, even if I change the map.
I tried a script call
$gamePlayer.refresh();
to hopefully change the sprite on the map to the current hero... but it doesn't work.
Maybe someone can help?
I wanted to change the playable character to another actor (not just change graphic)
I also need to include variables, cause I have alot of possible actors to turn into.
I tried this code, to add and remove an actor so the hero would be the added character.
JavaScript:
$gameParty.addActor($gameVariables.value(224));
$gameParty.removeActor(1);
It kinda works. The hero change in the menu, but the hero sprite on the map doesn't change, even if I change the map.
I tried a script call
$gamePlayer.refresh();
to hopefully change the sprite on the map to the current hero... but it doesn't work.
Maybe someone can help?