Long story made short, I'm nearly finished with my game, but I do have something that I'm a bit hung up on. At the end of the game, the player is given a score based on numerous factors (ex: gold, battle count, etc), but afterward, it's impossible to review your score. I do have an effective workaround if this isn't possible, but this method would be preferable; I'd rather set the player's nickname to their score.
Is there any way that a nickname can be set to a variable?
The script call
$gameActors.actor(id)._nickname holds the value. As a test, I changed Harold's nickname to 2222,
and in the status menu (the next time it was opened) his nickname was changed.
So ultimately, for actor 1 to have their nickname set to variable 20, it would be
$gameActors.actor(1)._nickname = $gameVariables.value(20)
EDIT This is, of course assuming you're using MV. This isn't in a maker specific thread (yet)
If it's VX Ace then try
$game_actors[1].nickname = $game_variables[20]
to replace the code from the MV example.
Of course replace the id in the brackets for both the Actor and the Game Variable to suit your needs.
Just tested it
Yes. Sorry, I took a bit to respond. It works beautifully. Thank you!
Of course, glad I could help, sorry I assumed MV at first. I've gotta stop doing that ><
Let me know if there's anything else, I don't work much with ACE but I don't have a hard time finding script calls for it, I usually know where to look