Jass:ForceSetLeaderboardBJ – Mappedia

Jass:ForceSetLeaderboardBJ

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



Code

function ForceSetLeaderboardBJ takes leaderboard lb, force toForce returns nothing
    local integer index
    local player  indexPlayer

    set index = 0
    loop
        set indexPlayer = Player(index)
        if IsPlayerInForce(indexPlayer, toForce) then
            call PlayerSetLeaderboard(indexPlayer, lb)
        endif
        set index = index + 1
        exitwhen index == bj_MAX_PLAYERS
    endloop
endfunction

Parameter

Typ Name Beschreibung
leaderboard lb
force toForce
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge