Jass:SetPlayerAllianceBJ – Mappedia

Jass:SetPlayerAllianceBJ

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



Code

function SetPlayerAllianceBJ takes player sourcePlayer, alliancetype whichAllianceSetting, boolean value, player otherPlayer returns nothing
    // Prevent players from attempting to ally with themselves.
    if (sourcePlayer == otherPlayer) then
        return
    endif

    call SetPlayerAlliance(sourcePlayer, otherPlayer, whichAllianceSetting, value)
endfunction

Parameter

Typ Name Beschreibung
player sourcePlayer
alliancetype whichAllianceSetting
boolean value
player otherPlayer
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge