IssueBuildOrder

Parameters
whichPeon unit
unitToBuild string
x real
y real
comment
note

If the order is to build a structure and the unit can build that structure in principle but the player lacks the resources for it, then the unit will be pinged on the minimap in yellow for its owning player.

bug

If the order is to build a structure and the unit can build that structure in principle (and the spot is not blocked, either), this function will still return true even if the player lacks the resources for it.

patch

1.00

Source
common.j
return type
boolean
Source code
native IssueBuildOrder              takes unit whichPeon, string unitToBuild, real x, real y returns boolean