addWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|ADDWAYPOINT]]
[[Category:Scripting Commands ArmA|ADDWAYPOINT]]


<new command not populated>




<h2 style="color:#000066">''''' addWaypoint '''''</h2>
<h2 style="color:#000066">''group ''''''' addWaypoint '''''''[center, radius]''</h2>




'''Operand types:'''
'''Operand types:'''
'''group''': [[Group]]
'''[center, radius]''': [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Array]]


'''Compatibility:'''
'''Compatibility:'''
Version 1.86 required.


'''Description:'''
'''Description:'''


Adds a new waypoint to a group. The waypoint is placed randomly in a circle with the given center and radius. The function returns a waypoint with format [group, index].
'''Example''':


'''Example:'''
grp '''addWaypoint''' [position player, 0]

Revision as of 15:36, 6 July 2006



group '' addWaypoint ''[center, radius]


Operand types:

group: Group

[center, radius]: Array

Type of returned value:

Array

Compatibility:

Version 1.86 required.

Description:

Adds a new waypoint to a group. The waypoint is placed randomly in a circle with the given center and radius. The function returns a waypoint with format [group, index].

Example:

grp addWaypoint [position player, 0]