markerDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 8: Line 7:


|arg= global|Multiplayer Arguments=
|arg= global|Multiplayer Arguments=
____________________________________________________________________________________________


| Get marker direction. |DESCRIPTION=
| Get marker direction. |DESCRIPTION=
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''markerDir''' markerName |SYNTAX=
| [[Number]] <nowiki>=</nowiki> '''markerDir''' markerName |SYNTAX=
Line 18: Line 15:


| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_mPos = '''markerDir''' "markerOne"</code> |EXAMPLE1=
|x1= <code>_mPos = '''markerDir''' "markerOne"</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[setMarkerDir]], [[setMarkerDirLocal]] |SEEALSO=
| [[setMarkerDir]], [[setMarkerDirLocal]] |SEEALSO=

Revision as of 02:49, 17 January 2021

Hover & click on the images for description

Description

Description:
Get marker direction.
Groups:
Markers

Syntax

Syntax:
Number = markerDir markerName
Parameters:
markerName: String
Return Value:
Number

Examples

Example 1:
_mPos = markerDir "markerOne"

Additional Information

See also:
setMarkerDirsetMarkerDirLocal

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

Posted on April 18, 2010 - 13:44 CET
Inkompetent
The direction of the marker is the same as displayed in the editor, so it can both be negative, and be 360 degrees or greater.

Bottom Section