SetUserControlForceOff

Parameters
whichForce force
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source code
function SetUserControlForceOff takes force whichForce returns nothing
    if (IsPlayerInForce(GetLocalPlayer(), whichForce)) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call EnableUserControl(false)
    endif
endfunction