|
Bitfighter
021
The Bitfighter Lua Documentation - Robots, Levelgens, and Plugins
|
Menu item allowing users to enter a text value.
Member Functions | |
| TextEntryMenuItem(name, initial, empty, maxLength, help) | |
| Constructor. | |
Menu item allowing users to enter a text value.
| Arg types: name: string, initial: string, empty: string, maxLength: int, help: string | returns TextEntryMenuItem |
Constructor.
Example:
| name | The text shown on the menu item. |
| initial | The initial text in the menu item. |
| empty | The text to display when the menu item is empty. |
| maxLength | The maximum number of characters to allow (default: 32) |
| help | A bit of help text. |
The MenuItem will return the text which the user entered.
For example: