Jass:SetPlayerUnitAvailableBJ – Mappedia

Jass:SetPlayerUnitAvailableBJ

Aus Mappedia
Wechseln zu: Navigation, Suche
Funktion: SetPlayerUnitAvailableBJ
Parameter: integer
boolean
player
Rückgabewert: nothing
Autor: Blizzard
Quelle: Blizzard.j
Synchron: Unbekannt



Code

function SetPlayerUnitAvailableBJ takes integer unitId, boolean allowed, player whichPlayer returns nothing
    if allowed then
        call SetPlayerTechMaxAllowed(whichPlayer, unitId, -1)
    else
        call SetPlayerTechMaxAllowed(whichPlayer, unitId, 0)
    endif
endfunction

Parameter

Typ Name Beschreibung
integer unitId
boolean allowed
player whichPlayer
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge