getDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:


| degrees <nowiki>=</nowiki> '''getDir''' unit|= Syntax
| degrees <nowiki>=</nowiki> '''getDir''' unit|= Syntax
|p1 - unit: [[Object]]
|p1 - degrees: [[Array]]
|p2 - unit: [[Object]]
| [[Number]] |= Return value
| [[Number]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>_degrees=<nowiki>=</nowiki>'''getDir''' [[player]]  </code>
|x1 = <code>_degrees<nowiki>=</nowiki>'''getDir''' [[player]]  </code>
|  |= See also
|  |= See also



Revision as of 02:09, 27 August 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:
degrees = getDir unit
Return Value:
p1 - degrees: Array

Examples

Example 1:
_degrees=getDir player

Additional Information

See also:
p2 - unit: Object

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