direction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - " \|p1=([^ ]+) + \| *(\[\[Numb.+) * " to " |p1=$1 |r1=$2 ")
Line 32: Line 32:
|p1= object: [[Object]] or [[Location]]
|p1= object: [[Object]] or [[Location]]


| [[Number]] -
|r1=[[Number]] -
Direction in degrees, range 0 to 360
Direction in degrees, range 0 to 360



Revision as of 04:38, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
direction object
Parameters:
object: Object or Location
Return Value:
Number - Direction in degrees, range 0 to 360

Examples

Example 1:
player setDir 90; _d = direction player;//returns 90

Additional Information

See also:
getDirgetDirVisualsetDirsetDirection

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