[RM2K3] HOW DO I PUT A CUSTOM NAME IN DIALOG?
Posts
Pages:
1
So I'm making a game and I want the player to input their own name and have that name be in other characters' dialog. How do I do that???
I'm not going to go over the use of the Name Input event-command. However, you could use the escape code \n[x] with message boxes. That replaces itself with the name of the actor in position x in the database.
As a quick example, if you write...
...and the name the character in position 1 is given (either through Name Input or otherwise) is "Larry", the output would be...
As a quick example, if you write...
\n[1]: Hi! My name is \n[1].
...and the name the character in position 1 is given (either through Name Input or otherwise) is "Larry", the output would be...
Larry: Hi! My name is Larry.
Just expanding a bit on Marrend's post, here's a full list of commands for the Show Text command in RPG Maker 2003:
Additionally, when using these, pay attention that you're using the right slash,
It's this one \
not this one /
So like marrend said, if the main character that the player names themselves is the first character on your database's character list, then you'd typein the Show Text command, and in-game, will get replaced with whatever name the player chose.
\\
Displays the character "\".
\c[n]
Text displayed after this will be displayed in the nth color (where n is a number from 0~19).
\s[n]
Sets the message display speed within a range of 1~20. The default is 1, and the greater the number, the slower the display (n is a number).
\n[n]
Displays the name of the nth actor (n is a number). Supports nested variable references (e.g. "\n[\v[123]]").
Use "\n[0]" to show the name of the first party member.
\v[n]
Displays the number in the nth variable (n is a number).
\$
Displays the amount of money in possession in an additional window.
\!
Temporarily halts text display. When a key is pressed, the next part of the message is displayed.
\.
Delays the display of the next part of the text by 1/4 of a second.
\|
Delays the display of the next part of the text by 1 second.
\> "text" \<
Instantly displays the text between “\>” and “\<”.
\^
Closes the message window without waiting for a keypress.
\_
Displays half the size of a space.
It's this one \
not this one /
So like marrend said, if the main character that the player names themselves is the first character on your database's character list, then you'd type
\n[0]
\n[0]
Pages:
1















