setMarkerPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETMARKERPOS]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETMARKERPOS]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETMARKERPOS]]
[[Category:Scripting Commands ArmA|SETMARKERPOS]]


| ofp |= Game name


<h2 style="color:#000066">'''''markerName'' setMarkerPos ''pos'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Moves the marker.
Pos format is [[Position2D]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| markerName '''setMarkerPos''' pos |= Syntax


'''markerName:''' [[String]]
|p1= markerName: [[String]] |= Parameter 1


'''pos:''' [[Array]]
|p2= pos: [[Array]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>"MarkerOne" setMarkerPos [[getMarkerPos]] "MarkerTwo"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


Moves the marker.<br>
<h3 style="display:none">Notes</h3>
'''Pos''' format is [[Position2D]].
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETMARKERPOS]]
"MarkerOne" '''setMarkerPos''' [[getMarkerPos]] "MarkerTwo"
[[Category:Scripting Commands OFP 1.96|SETMARKERPOS]]
[[Category:Scripting Commands OFP 1.46|SETMARKERPOS]]
[[Category:Scripting Commands ArmA|SETMARKERPOS]]

Revision as of 23:21, 1 August 2006

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
Return Value:
Nothing

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

Notes

Bottom Section