OpenTextInput

Revision as of 08:29, 16 August 2013 by imported>QQuix (Updated: menuType was missing from the parm list)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(void) OpenTextInput promptString:string var1 var2 ... var20 menuType:int maxLength:short

Opens a text input menu if one is not currently in use.

MenuType is

  • 0 for a messagebox,
  • 1 for a book, or
  • 2 for a scroll.

The MaxLength parameter specifies how many characters to allow the user to enter.

For messageboxes, the prompt string will be displayed before the cursor and cannot be erased. It may also contain buttons, with the button text separated from the prompt text with pipe '