setMarkerPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z]+))?\]\] " to "")
m (Text replacement - "v1\.93\.[0-9]{6}" to "v1.94")
Line 15: Line 15:


|p1= markerName: [[String]]
|p1= markerName: [[String]]
|p2= pos: [[Array]] - format [[Position2D]], [[PositionAGL]] or [[Object]] (since Arma 3 v1.93.145584)
|p2= pos: [[Array]] - format [[Position2D]], [[PositionAGL]] or [[Object]] (since Arma 3 v1.94)


| [[Nothing]]
| [[Nothing]]

Revision as of 10:21, 3 April 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.94)
Return Value:
Return value needed

Examples

Example 1:
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"

Additional Information

See also:
setMarkerPosLocalsetMarkerBrushsetMarkerColorsetMarkerDircreateMarkersetMarkerShapesetMarkerSizesetMarkerTextsetMarkerTypesetMarkerAlpha

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.