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.

[Resolved] Calling Input Name window

Status
Not open for further replies.

Puppa

Member

Hi there !
I'd like to know how i call the input name window for actor 1 in a script ?
Somebody can help me ?
Thanks !
 
With the following code:
Code:
# First set the ID of the actor which name you would like to be changed
$game_temp.name_actor_id = 1
# Then call the scene for the name input
$scene = Scene_Name.new
When you leave this scene you will be returned to the map, keep this in mind when calling the name input scene.
 
Use this code (Assuming that you want to call the Scene_Name class with a script)

Code:
$game_temp.name_actor_id = actor_id
$game_temp.name_max_char = max_characters
$scene = Scene_Name.new

where actor_id is the actor's id
max_characters is the maximum number of characters

If you just meant the Input Name Window then Its just Window_NameInput.new
 
Status
Not open for further replies.

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