getDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|GETDIR]]
[[Category:Scripting Commands|GETDIR]]
[[Category:Scripting Commands OFP 1.97|GETDIR]]
[[Category:Scripting Commands OFP 1.96|GETDIR]]
[[Category:Scripting Commands OFP 1.46|GETDIR]]
[[Category:Scripting Commands OFP 1.46|GETDIR]]
[[Category:Scripting Commands ArmA|GETDIR]]
[[Category:Scripting Commands ArmA|GETDIR]]

Revision as of 20:51, 1 June 2006


getDir obj


Operand types:

obj: Object

Type of returned value:

Number

Description:

Object heading in range 0 to 360.

Angles are measured in degrees clockwise from north.

See also: setDir


Example:

getDir player