Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Name

Orges

Member

Hello,
Im trying to figure out how to insert some ones custom name in a message.
Like when they create a name.
I dont have to change the whole game.
Ps,
Can some one help me
 

Fusty

Sponsor

You mean that you can choose your own name at the start of the game and that it shows that name in messages?
If so then do this:

Make an event with Name Input Processing.
Then when you want to show the name of the first actor type this for example: Hello \n[001] how are you doing today?
[001] is the ID of the actor in the database.
If you want to name actor nr 2 do the same but replace [001] by [002].

Hope it helps.

-Edit

This is for RMXP don't know if it works with VX too.
 
If it os for a password ot something input; I did it nearly only by Event commands

1/ Create a 'dummy' character (in my case, it was n°6
2/ in your event
  2-a/ set n°6's name to ''
  2-b/ call the 'name input' command for n°6
  2-c/ use n°6's name
    2-c-1/ eithe test it whitth a 'script condition' like '$game_actors[6].name.upcase == 'MCGOWAN'
    2-c-2/ either put it in a game variable with the '$game_variable[999]=$game_actors[6].name' and use it in a message including \V[999]


Edit : err... forget all about step 2-c-2/ and game variables. just include \N[6] in your message....  :blush:
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top