Jass:MeleeTriggerTournamentFinishSoon
Aus Mappedia
| Funktion: MeleeTriggerTournamentFinishSoon | |
|---|---|
| Parameter: | nothing |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function MeleeTriggerTournamentFinishSoon takes nothing returns nothing // Note: We may get this trigger multiple times local integer playerIndex local player indexPlayer local real timeRemaining = GetTournamentFinishSoonTimeRemaining() if not bj_finishSoonAllExposed then set bj_finishSoonAllExposed = true // Reset all crippled players and their timers, and hide the local crippled timer dialog set playerIndex = 0 loop set indexPlayer = Player(playerIndex) if bj_playerIsCrippled[playerIndex] then // Uncripple the player set bj_playerIsCrippled[playerIndex] = false call PauseTimer(bj_crippledTimer[playerIndex]) if (GetLocalPlayer() == indexPlayer) then // Use only local code (no net traffic) within this block to avoid desyncs. // Hide the timer window. call TimerDialogDisplay(bj_crippledTimerWindows[playerIndex], false) endif endif set playerIndex = playerIndex + 1 exitwhen playerIndex == bj_MAX_PLAYERS endloop // Expose all players call MeleeExposeAllPlayers() endif // Show the "finish soon" timer dialog and set the real time remaining call TimerDialogDisplay(bj_finishSoonTimerDialog, true) call TimerDialogSetRealTimeRemaining(bj_finishSoonTimerDialog, timeRemaining) endfunction

russische Team, stehen wir nun im Halbfinale vor einem weiteren Giganten der e-Sports-Szene:
Finnland! Die Skandinavier hatten es im Gegensatz zu unserem