getDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. ArmA2 classification)
Line 34: Line 34:
[[Category:Scripting Commands ArmA|GETDIR]]
[[Category:Scripting Commands ArmA|GETDIR]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 17:28, 3 June 2009

Hover & click on the images for description

Description

Description:
Returns the unit heading in the range from 0 to 360.
Groups:
Uncategorised

Syntax

Syntax:
Number = getDir object
Parameters:
object: Object
Return Value:
Number

Examples

Example 1:
_degrees = getDir player

Additional Information

See also:
direction

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section