EnableUserControl
- Parameters
b booleantrueto enable control,falseto disable- comment
Toggles user's input controls.
When disabled this includes:
- hide the cursor (you can still see UI on-hover effects with menu buttons and even mouse-down animation on ability buttons)
- on-hover unit selection circles no longer show (cannot be overriden with
EnableDragSelect,EnablePreSelect,EnableSelect) - disable all hotkeys (binds, abilities, minimap, menus like F10), only Alt+F4 continues to work
- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native EnableUserControl takes boolean b returns nothing