ctrlSetAutoComplete (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.00
Description
- Description:
- Sets the autocomplete mode for the given edit box.
If mode is set to "general" previously entered values will be used to suggest completion, with "scripting", valid command syntax is used to find a match.
Syntax
- Syntax:
- ctrlID ctrlSetAutoComplete mode
- Parameters:
- ctrlID: Control - ID of control
- mode: String - auto-complete mode ("general" or "scripting")
- Return Value:
- Any_Value
Examples
- Example 1:
_control ctrlSetAutoComplete "scripting"
Additional Information
- Multiplayer:
- Behaviour unknown.

