getDirVisual: Difference between revisions

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


|x1= <code>_dir = [[getDirVisual]] [[player]];</code>
|x1= <code>_dir = getDirVisual [[player]];</code>


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

Revision as of 11:02, 12 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