Warcraft III resources & community, 2003–2006 · archived

RunSeperate

not rated
Submitted by KaTTaNaExecution0 downloads
This runs the code c as a seperate thread so wait functions won't pause the thread from which this function is called.

Source

function RunSeperate takes code c returns nothing
    local trigger trg = CreateTrigger()
    call TriggerAddAction( trg, c )
    call TriggerExecute( trg )
    call DestroyTrigger( trg )
    set trg = null
endfunction

Comments

0

No comments.