SetUnitY
- Parameters
-
whichUnit unit
newY real
- comment
-
Sets unit's Y map coordinate.
This is a low level call and ignores all pathing (until unit moves again or is issued a movement order).
- 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. - note
-
See:
SetUnitX
(with example code),SetUnitPositionLoc
- patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native SetUnitY takes unit whichUnit, real newY returns nothing