getDirVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 20: Line 20:
|x1= <code>_dir = [[getDirVisual]] [[player]];</code>
|x1= <code>_dir = [[getDirVisual]] [[player]];</code>


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

Revision as of 15:52, 20 January 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