Jass:QueuedTriggerAttemptExec – Mappedia

Jass:QueuedTriggerAttemptExec

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



Code

function QueuedTriggerAttemptExec takes nothing returns boolean
    loop
        exitwhen bj_queuedExecTotal == 0

        if TriggerExecuteBJ(bj_queuedExecTriggers[0], bj_queuedExecUseConds[0]) then
            // Timeout the queue if it sits at the front of the queue for too long.
            call TimerStart(bj_queuedExecTimeoutTimer, bj_QUEUED_TRIGGER_TIMEOUT, false, null)
            return true
        endif

        call QueuedTriggerRemoveByIndex(0)
    endloop
    return false
endfunction
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge