setWPPos: 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|SETWPPOS]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETWPPOS]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETWPPOS]]
[[Category:Scripting Commands ArmA|SETWPPOS]]


| ofp |= Game name


<h2 style="color:#000066">'''''waypoint'' setWPPos ''position'''''</h2>
|1.21|= Game version
____________________________________________________________________________________________


| Set waypoint position.
Waypoint is in format [[Waypoint]].
Position is in format [[Position2D]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| waypoint '''setWPPos''' position |= Syntax


'''waypoint:''' [[Array]]
|p1= waypoint: [[Array]] |= Parameter 1


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


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


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Added in version '''1.21'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Set waypoint position.<br>
<h3 style="display:none">Bottom Section</h3>
'''Waypoint''' is in format [[Waypoint]].<br>
[[Category:Scripting Commands|SETWPPOS]]
'''Position''' is in format [[Position2D]].
[[Category:Scripting Commands OFP 1.96|SETWPPOS]]
 
[[Category:Scripting Commands OFP 1.46|SETWPPOS]]
 
[[Category:Scripting Commands ArmA|SETWPPOS]]
'''Example:'''
 
[groupOne, 1] '''setWPPos''' [[getMarkerPos]] "MarkerOne"

Revision as of 00:37, 2 August 2006

Hover & click on the images for description

Description

Description:
Set waypoint position. Waypoint is in format Waypoint. Position is in format Position2D.
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWPPos position
Parameters:
waypoint: Array
position: Array
Return Value:
Nothing

Examples

Example 1:
[groupOne, 1] setWPPos [[getMarkerPos]] "MarkerOne"

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