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
trueeven if the player lacks the resources for it.
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.
- return type
- Source code
native IssueBuildOrderById takes unit whichPeon, integer unitId, real x, real y returns boolean