EnableUserControl

Parameters
b boolean

true to enable control, false to 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
return type
nothing
Source code
native EnableUserControl            takes boolean b returns nothing