SetUnitX

Parameters
whichUnit unit
newX real
comment
note

If the unit has movementspeed of zero the unit will be moved but the model of the unit will not move.

note

This does not cancel orders of the unit. SetUnitPosition does cancel orders.

patch

1.00

return type
nothing
Source code
native          SetUnitX            takes unit whichUnit, real newX returns nothing
Source
common.j
wc3modding.com
SetUnitX