getDirVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
|1.32|Game version=
|1.32|Game version=
|arg= global|Multiplayer Arguments=
|arg= global|Multiplayer Arguments=
____________________________________________________________________________________________


| Returns object's heading in the range from 0 to 360 in render time scope. |DESCRIPTION=
| Returns object's heading in the range from 0 to 360 in render time scope. |DESCRIPTION=
____________________________________________________________________________________________


| '''getDirVisual''' object |SYNTAX=
| '''getDirVisual''' object |SYNTAX=
Line 17: Line 14:
|p1= object: [[Object]] |PARAMETER1=
|p1= object: [[Object]] |PARAMETER1=
| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
|x1 = <code>_dir = '''getDirVisual''' [[player]];</code> |EXAMPLE1=
|x1 = <code>_dir = '''getDirVisual''' [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________
| [[getDir]], [[direction]] |SEEALSO=
| [[getDir]], [[direction]] |SEEALSO=



Revision as of 02:12, 17 January 2021

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:
getDirdirection

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