CreateUnitAtLoc
- Parameters
-
id player
The owner of the unit.
unitid integer
The rawcode of the unit.
whichLocation location
The position of the unit.
face real
Unit facing in degrees.
- comment
- patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
unit
- Source code
-
native CreateUnitAtLoc takes player id, integer unitid, location whichLocation, real face returns unit