GetUnitDirection

:!: Available in version 48 and later.

GetUnitDirection(<-UID) ->direction

Description

Returns the facing direction of unit UID. Behaves differently depending on the unit's rotate mode:

Examples

# need worked example