getDirVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 18: Line 18:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_dir = getDirVisual player;</code>
|x1= <sqf>_dir = getDirVisual player;</sqf>


|seealso= [[getDir]] [[direction]]
|seealso= [[getDir]] [[direction]]
}}
}}

Revision as of 11:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns object's heading in the range from 0 to 360 in render time scope.
Groups:
Object ManipulationRender Time Scope

Syntax

Syntax:
getDirVisual object
Parameters:
object: Object
Return Value:
Number

Examples

Example 1:
_dir = getDirVisual player;

Additional Information

See also:
getDir 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