Warcraft III resources & community, 2003–2006 · archived

ForceIsEmpty

not rated
Submitted by PepparVariable Change0 downloads
Returns true if whichForce is empty.

Basically a modified version of IsUnitGroupEmptyBJ.

Source

function ForceIsEmpty_Enum takes nothing returns nothing
    set bj_isUnitGroupEmptyResult = false
endfunction
function ForceIsEmpty takes force whichForce returns boolean
    set bj_isUnitGroupEmptyResult = true
    call ForForce(whichForce, function ForceIsEmpty_Enum)
    return bj_isUnitGroupEmptyResult
endfunction

Comments

0

No comments.