SetPlayerAllianceBJ

Parameters
sourcePlayer player
whichAllianceSetting alliancetype
value boolean
otherPlayer player
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source 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