The player can change the Actor's name, but I don't see any options where the player can input the Actor's nickname. Is it possible? I think it'd be useful, since I can let the player name their character with a first and last name (using the nickname function).
Option to let the player change the actor's nickname?
RPG Maker MV SupportI can't add the options for the editor but I could program you a quick scene for permit you to change actors nickname meanwhile for make you wait :V!
There isn't one by default. It probably wouldn't take much to write a plugin to allow it. However, you could do it without plugins:
- create a dummy actor
- use the Change Actor Images command (or whatever it's really called) to make the dummy actor look like the target actor (whose nickname you want to change)
- use a script call to set the dummy actor's name to the target actor's nickname
- use the Change Actor Name command to change the dummy actor's name
- use a script call to set the target actor's nickname to the dummy actor's name
The script calls would be something like this:
The above assumes you know which actor they want to change the nickname for, but I think that's how Change Actor Name works anyway - AFAIK there's no menu option that lets them change names arbitrarily and select their own actor to target
- create a dummy actor
- use the Change Actor Images command (or whatever it's really called) to make the dummy actor look like the target actor (whose nickname you want to change)
- use a script call to set the dummy actor's name to the target actor's nickname
- use the Change Actor Name command to change the dummy actor's name
- use a script call to set the target actor's nickname to the dummy actor's name
The script calls would be something like this:
Code:
// set dummy actor's name to real actor's nickname
$gameActors.actor(dummy_id).setName($gameActors.actor(real_id).nickname())
do change images and name input here via events
// set real actor's nickname to dummy actor's name
$gameActors.actor(real_id).setName($gameActors.actor(dummy_id).nickname())
The above assumes you know which actor they want to change the nickname for, but I think that's how Change Actor Name works anyway - AFAIK there's no menu option that lets them change names arbitrarily and select their own actor to target
I think you lost me there Shaz 🙁
Or at least, it doesn't seem to work. I create Actor 2, so that the player can use this to name them, which will then be used as actor's 1 nickname.
I followed your instructions, did the script call, then name input change. Nothing. Did name input change, then the script call, still no result.
Or at least, it doesn't seem to work. I create Actor 2, so that the player can use this to name them, which will then be used as actor's 1 nickname.
I followed your instructions, did the script call, then name input change. Nothing. Did name input change, then the script call, still no result.
Worked for me.
You need to do BOTH script calls. The first one is to set the dummy actor's name to the real actor's nickname (so it shows up in the name input window). The second one is to set the real actor's nickname to what the player entered.
So it'll be script call, name input processing, script call. 3 commands.
What I posted above is not a single script call. It's a script call, then an instruction to do some event stuff, and then another script call. I just didn't want to make the post look messy by breaking it into two script calls.
This is what your event should look like at the end:
You need to do BOTH script calls. The first one is to set the dummy actor's name to the real actor's nickname (so it shows up in the name input window). The second one is to set the real actor's nickname to what the player entered.
So it'll be script call, name input processing, script call. 3 commands.
What I posted above is not a single script call. It's a script call, then an instruction to do some event stuff, and then another script call. I just didn't want to make the post look messy by breaking it into two script calls.
This is what your event should look like at the end:
Code:
Script: $gameActors.actor(2).setName($gameActors.actor(1).nickname())
Change Actor Images: (set images for actor 2 to be like actor 1's images)
Name Input Processing: (select actor 2)
Script: $gameActors.actor(1).setNickname($gameActors.actor(2).name())
Can't you just change Actor's nick name with script?
$gameActors.actor(x)._nickname = "Whatever You want"
$gameActors.actor(x)._nickname = "Whatever You want"
@mrcopra yes, but this won't let the player choose.
Alright, this time I got it, thanks Shaz and Andar! You too Nio 😀
Thank you @Andar - I completely missed that!
Original thread: https://forums.rpgmakerweb.com/threads/option-to-let-the-player-change-the-actors-nickname.68694/