setMarkerPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (formatted notes)
Line 32: Line 32:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


* Effect is local in OFP. -- Pulverizer
<dt class="note">[[User:Pulverizer|Pulverizer]]
<dd class="note">Effect is local in OFP.


* This command will not move a marker on dedicated server (if a client calls it). AI will continue to respawn at old spot if you are moving something like respawn_west. --[[User:Doolittle|Doolittle]] 22:25, 31 March 2008 (CEST)
<dd class="notedate">Posted on March 31, 2008 - 22:25 (CEST)
<dt class="note">[[User:Doolittle|Doolittle]]
<dd class="note">This command will not move a marker on dedicated server (if a client calls it). AI will continue to respawn at old spot if you are moving something like respawn_west.


* 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 --> [[User:Dr Eyeball|Dr Eyeball]] 02:03, 7 August 2009 (CEST)
<dd class="notedate">Posted on August 7, 2009 - 02:03 (CEST)
<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 -->


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 18:36, 26 March 2016

Hover & click on the images for description

Description

Description:
Moves the marker. Pos format is Position2D.
Groups:
Uncategorised

Syntax

Syntax:
markerName setMarkerPos pos
Parameters:
markerName: String
pos: Array - format Position2D
Return Value:
Nothing

Examples

Example 1:
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"

Additional Information

See also:
setMarkerBrushsetMarkerColorsetMarkerDircreateMarkersetMarkerShapesetMarkerSizesetMarkerTextsetMarkerTypesetMarkerAlpha

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

Pulverizer
Effect is local in OFP.
Posted on March 31, 2008 - 22:25 (CEST)
Doolittle
This command will not move a marker on dedicated server (if a client calls it). AI will continue to respawn at old spot if you are moving something like respawn_west.
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.

Bottom Section