that won't work
facing can't be instant
I don't think there is a solution for this.
Trigger:
- Unit - Move (Triggering unit) instantly to MyPoint, facing MyAngle degrees
function SetUnitPositionLocFacingBJ takes unit whichUnit, location loc, real facing returns nothing
call SetUnitPositionLoc(whichUnit, loc)
call SetUnitFacing(whichUnit, facing)
endfunction
Trigger:
- Unit - Move (Triggering unit) instantly to Position of (Triggering Unit), facing Angle Triggering Unit is facing + 10 degrees
You put this in a periodic event that fires every 0.1 secs