IssuePointOrderLoc
- Parameters
-
whichUnit unit
order string
whichLocation location
- 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, this function will return
false
even if the unit accepts the order. - patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
boolean
- Source code
-
native IssuePointOrderLoc takes unit whichUnit, string order, location whichLocation returns boolean