Aller au contenu

Photo

Text Input Prompt?


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
ordo-liturius

ordo-liturius
  • Members
  • 2 messages
Is it possible at all through scripting, or some other form of sorcery, to bring up a text input prompt for the purpose of naming an NPC? Or, would this require the creation of third party program? I would to know if I could do this the easy way or the hard, hacktastic way.

Thanks for any information.

#2
kamal_

kamal_
  • Members
  • 5 260 messages
Storm of Zehir does it. The slogan you type in for your adventuring party at the beginning of the game is displayed as the name of a banner at your headquarters in Crossroad Keep.

#3
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Yes it is possible. I can't remember the command right now. It is something like InputTextBox(), but that isn't exactly it. The function allows you to bring up a text box and type into it and then do something with the string. The function is also used in crafting when you want to name a new item you crafted. You may want to check out the crafting scripts to find it.

#4
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
I believe it is DisplayInputBox()

#5
ordo-liturius

ordo-liturius
  • Members
  • 2 messages
All right, good to hear. Thx