ForceSetLeaderboardBJ
- Parameters
-
lb leaderboard
toForce force
- comment
- patch
1.00
- Source
- Blizzard.j
- return type
nothing
- Source 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