IssueBuildOrderByIdLocBJ

Parameters
whichPeon unit
unitId integer
loc location
comment
patch

1.00

Source
Blizzard.j
return type
boolean
Source code
function IssueBuildOrderByIdLocBJ takes unit whichPeon, integer unitId, location loc returns boolean
    if (unitId == 'ugol') then
        return IssueHauntOrderAtLocBJ(whichPeon, loc)
    else
        return IssueBuildOrderById(whichPeon, unitId, GetLocationX(loc), GetLocationY(loc))
    endif
endfunction