~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetUnitRotation|Get]]
* [[4rpl:commands:SetUnitRotation|Set]]
====== GetUnitRotation ======
GetUnitRotation(<-UID) ->rotDeg
===== Description =====
Get the rotation of a unit, in degrees. A vector returned that represents the rotation around the x,y,z axes.
Note the Y axis is the 'vertical' axis relative to the map plane.
===== Examples =====
GetUnitRotation(<-UID) ->rotDeg
=== See also ===
* [[GetUnitOrientation]]
<=[[4rpl:start| Index]]