CreateUnitAtLoc

Parameters
idplayer

The owner of the unit.

unitidinteger

The rawcode of the unit.

whichLocationlocation

The position of the unit.

facereal

Unit facing in degrees.

comment
patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
unit
Source code
native          CreateUnitAtLoc         takes player id, integer unitid, location whichLocation, real face returns unit