getDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 35: Line 35:
[[Category:Scripting Commands OFP 1.46|GETDIR]]
[[Category:Scripting Commands OFP 1.46|GETDIR]]
[[Category:Scripting Commands ArmA|GETDIR]]
[[Category:Scripting Commands ArmA|GETDIR]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]

Revision as of 06:37, 24 February 2007

Hover & click on the images for description

Description

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

Syntax

Syntax:
getDir obj
Return Value:
p1 - obj: Object

Examples

Example 1:
getDir player

Additional Information

See also:
Number

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

Ceeeb
This is exactly the same as direction

Bottom Section