getDir: Difference between revisions

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


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



Revision as of 01:07, 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 - unit: Object

Examples

Example 1:
_degrees==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