getDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed broken wiki)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| degrees <nowiki>=</nowiki> '''getDir''' [[Object#Unit|Unit]] |= Syntax
| [[Number]] <nowiki>=</nowiki> '''getDir''' object |= Syntax
|p1= degrees: [[Array]] |= Parameter 1
 
|p2= [[Object#Unit|Unit]] |=Parameter 2
|p1= object: [[Object]] |=Parameter 1
| [[Number]] |= Return value
| [[Number]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 01:03, 23 January 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