CreateUnitByName

Parameters
whichPlayer player
unitname string
x real
y real
face real

Unit facing in degrees

return type
unit
Source code
native CreateUnitByName takes player whichPlayer, string unitname, real x, real y, real face returns unit
Source
unit.j
wc3modding.com
CreateUnitByName