ConvertNeeds

Parameters
unitidinteger
comment
patch

1.07

Source
common.ai (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
function ConvertNeeds takes integer unitid returns nothing
    if GetUnitCount(unitid) < 1 then
        call StartUnit(1,unitid,-1)
    endif
endfunction