IssueBuildOrderById
- Parameters
whichPeon unitunitId integerx realy 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
trueeven if the player lacks the resources for it.- patch
1.00
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
boolean- Source code
native IssueBuildOrderById takes unit whichPeon, integer unitId, real x, real y returns boolean