askText Lua export - VanaDev/Vana GitHub Wiki

askText

Script Type(s): NPC Scripts

Category: NPC Exports

Return(s):

  • text: string
Argument(s):
  • Optional - min: number
  • Optional - max: number
  • Optional - defaultText: string
Notes: Sends a text prompt dialog to the player. Returns the text they input. Min/max appear to duplicate the functionality of askNumber. Min and max must both be specified if either of them is to be specified.
⚠️ **GitHub.com Fallback** ⚠️