addWaypoint (VBS1)

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Virtual Battlespace 1 version 2.12.14

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

Description

Description:
Adds a new waypoint to a group. The waypoint is placed randomly in a circle with the given center and radius.

Syntax

Syntax:
group addWaypoint [center, radius]
Parameters:
group: Group
center: Position ?
radius: Number ?
Return Value:
Array - a waypoint with format [group, index]

Examples

Example 1:
grp addWaypoint [ position player, 0]

Additional Information

Multiplayer:
-
See also:
deleteWaypoint

Notes

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section