- Joined
- Jun 16, 2008
- Messages
- 333
Lua:
function createUnitfunc()
CreateUnitAtLoc(Player(15), FourCC("h001"), GetRectCenter(udg_createUnitReg[1]), 0)
local lcu = GetLastCreatedUnit()
IssuePointOrderLoc(lcu, "move", GetRectCenter(udg_createUnitReg[2]))
end
I am trying to move the unit after it is created. It is created, just doesn't move.