User Tools

Site Tools


4rpl:commands:getunitrotation

This is an old revision of the document!


Index

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

4rpl/commands/getunitrotation.1650825540.txt.gz · Last modified: 2025/02/14 14:56 (external edit)