setMarkerPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
Line 30: Line 30:
<dd class="note">Effect is local in OFP.
<dd class="note">Effect is local in OFP.


<dd class="notedate">Posted on August 7, 2009 - 02:03 (CEST)
<dd class="notedate">Posted on August 7, 2009 - 02:03 (CEST)</dd>
<dt class="note">[[User:Dr Eyeball|Dr Eyeball]]
<dt class="note">[[User:Dr Eyeball|Dr Eyeball]]
<dd class="note">The marker position can actually be set in 3D. This has a benefit for respawn markers, when placed at the correct altitude ASL on the LHD, the correct altitude will be used for respawn. There is no particular benefit for regular markers since [[markerPos]] will still return 0 for the altitude array element. <!-- Tip obtained from Xeno -->
<dd class="note">The marker position can actually be set in 3D. This has a benefit for respawn markers, when placed at the correct altitude ASL on the LHD, the correct altitude will be used for respawn. There is no particular benefit for regular markers since [[markerPos]] will still return 0 for the altitude array element. <!-- Tip obtained from Xeno -->

Revision as of 00:59, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Markers

Syntax

Syntax:
Syntax needed
Parameters:
markerName: String
pos: Array - format Position2D, PositionAGL or Object (since Arma 3 v1.93.145584)
Return Value:
Return value needed

Examples

Example 1:
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"

Additional Information

See also:
See also needed

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
Pulverizer
Effect is local in OFP.
Posted on August 7, 2009 - 02:03 (CEST)
Dr Eyeball
The marker position can actually be set in 3D. This has a benefit for respawn markers, when placed at the correct altitude ASL on the LHD, the correct altitude will be used for respawn. There is no particular benefit for regular markers since markerPos will still return 0 for the altitude array element.