markerDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1
|1.04|Game version=
|1.04


|gr1 = Markers |GROUP1=
|gr1 = Markers


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


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


| [[Number]] <nowiki>=</nowiki> '''markerDir''' markerName |SYNTAX=
| [[Number]] <nowiki>=</nowiki> '''markerDir''' markerName


|p1= markerName: [[String]] |PARAMETER1=
|p1= markerName: [[String]]


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


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


}}
}}

Revision as of 01:05, 18 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