SetUnitFacing

Parameters
whichUnit unit

Target unit.

facingAngle real

Unit facing in degrees.

  • 0 = East
  • 90 = North
  • 180 = West
  • 270 = South
  • -90 = South (wraps around)
comment

Makes the unit slowly turn around on the spot to look at new direction.

note

While the unit is moving, calling this function will have no effect.

patch

1.00

Source
common.j
return type
nothing
Source code
native          SetUnitFacing       takes unit whichUnit, real facingAngle returns nothing