Skip to content
Bui edited this page Aug 29, 2014 · 2 revisions

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.
Clone this wiki locally