getMarkerPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
|p1= marker: [[String]] - marker name |= Parameter 1
|p1= marker: [[String]] - marker name |= Parameter 1


| [[Position]] -
| [[Array]] - (format [[Position]]) |= Return value
The returned position is an array of format [x,y,z], where z equals always 0 for markers. A markers altitude cannot be changed. |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   

Revision as of 16:59, 28 September 2006

Hover & click on the images for description

Description

Description:
Returns the position of a given marker.
Groups:
Uncategorised

Syntax

Syntax:
getMarkerPos marker
Parameters:
marker: String - marker name
Return Value:
Array - (format Position)

Examples

Example 1:
"MarkerOne" setMarkerPos [200,200,200]

_pos = getMarkerPos "MarkerOne"
returns [200,200,0]

Additional Information

See also:
setMarkerPos

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