setWaypointPosition: 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|SETWAYPOINTPOSITION]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETWAYPOINTPOSITION]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETWAYPOINTPOSITION]]


| ofpr |= Game name


<h2 style="color:#000066">'''''waypoint setWaypointPosition ''[center, radius]'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Moves the waypoint to a random position in a circle with the given center and radius. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| waypoint setWaypointPosition '''[center, radius]''' |= Syntax


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


'''[center, radius]]:''' [[Array]
|p2= [center, radius]]: [[]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] setWaypointPosition [position player, 0]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


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


Moves the waypoint to a random position in a circle with the given center and radius.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETWAYPOINTPOSITION]]
 
[[Category:Scripting Commands OFP Elite |SETWAYPOINTPOSITION]]
'''Example:'''
[[Category:Scripting Commands ArmA|SETWAYPOINTPOSITION]]
 
[grp, 2] '''setWaypointPosition''' [position player, 0]

Revision as of 23:39, 1 August 2006

Hover & click on the images for description

Description

Description:
Moves the waypoint to a random position in a circle with the given center and radius.
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointPosition [center, radius]
Parameters:
waypoint: Array
[center, radius]]: [[]]
Return Value:
Nothing

Examples

Example 1:
[grp, 2] setWaypointPosition [position player, 0]

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