Charas-Project

Game Creation => Requests => Tutorials => Topic started by: Doomsdaylee on January 12, 2009, 02:32:06 PM

Title: Is there any script to allow the player to name the character him/herself?
Post by: Doomsdaylee on January 12, 2009, 02:32:06 PM
I've searched the forums, and I can't find any.
Title: Re: Is there any script to allow the player to name the character him/herself?
Post by: Red Giant on January 12, 2009, 03:51:51 PM
No need for a tutorial, Assuming you're using rm2k or rm2k3, look for the even command "Enter Hero Name."

This has been known to function incorrectly in older versions of the rpg maker, so you might wanna search for a patch if it doesn't work right.
Title: Re: Is there any script to allow the player to name the character him/herself?
Post by: Doomsdaylee on January 12, 2009, 04:33:33 PM
Now I feel retarded. Thanks
Title: Re: Is there any script to allow the player to name the character him/herself?
Post by: Ben on January 12, 2009, 08:01:12 PM
Dont you have to set the name to a variable for it to work properly? Ive never even used the command to know how it works.lol
Title: Re: Is there any script to allow the player to name the character him/herself?
Post by: Red Giant on January 12, 2009, 09:47:57 PM
Dont you have to set the name to a variable for it to work properly? Ive never even used the command to know how it works.lol
Nope. The game handles the data itself, all you need to do is choose which hero you're renaming.
Title: Re: Is there any script to allow the player to name the character him/herself?
Post by: fruckert on January 13, 2009, 02:59:32 AM
Too bad GM doesn't work out all that nicely
Title: Re: Is there any script to allow the player to name the character him/herself?
Post by: Ben on January 13, 2009, 08:02:09 AM
But where is the name stored...like, is there a variable you call to use it in text?
Ive always been enough of a nazi with my projects not to let the player choose his name...mostly out of ignorance. Back in 2003, when i first tired the maker, I had heard the feature didnt work right, so i just kind of phased it out of my mind.lol. Im kind of curious.
Title: Re: Is there any script to allow the player to name the character him/herself?
Post by: Red Giant on January 13, 2009, 04:32:12 PM
But where is the name stored...like, is there a variable you call to use it in text?
Well in the same way that the game stores each character's attack, defense etc. It's not listed with variable variables but yeah, there's one piece of data per character that is their name.

You can use names in event conditions, but nothing more advanced than "If name =*** do this". Which can actually be quite spiffy for like, password systems and junk.
Title: Re: Is there any script to allow the player to name the character him/herself?
Post by: A Forgotten Legend on January 23, 2009, 12:17:35 AM
But where is the name stored...like, is there a variable you call to use it in text?
Ive always been enough of a nazi with my projects not to let the player choose his name...mostly out of ignorance. Back in 2003, when i first tired the maker, I had heard the feature didnt work right, so i just kind of phased it out of my mind.lol. Im kind of curious.

\n[XX]  X being the actor id.  Put it in the message and it appears.  it might be the other slash though.