Jass:SetUserControlForceOff – Mappedia

Jass:SetUserControlForceOff

Aus Mappedia
Wechseln zu: Navigation, Suche
Funktion: SetUserControlForceOff
Parameter: force
Rückgabewert: nothing
Autor: Blizzard
Quelle: Blizzard.j
Synchron: Unbekannt



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

Parameter

Typ Name Beschreibung
force whichForce
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge