How do you change the direction a unit faces?

You can change the units direction they face in the editor by holding the shift and moving your mouse around, you will see the direction changing as you do this. You can also change it from the scripting command setDir. The value needs to be between 0 and 360.


unit_name setdir value