setCurrentWaypoint

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.05

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.05

Description

Description:
Sets the currently active waypoint for a group.

Syntax

Syntax:
Group setCurrentWaypoint Waypoint
Return Value:
Nothing

Examples

Example 1:
_grp setCurrentWaypoint [_grp, 1]

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

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

Notes

Ceeeb
Note that a waypoints number as seen in the mission editor is not the same as it's waypoint number using this command. In the mission editor, waypoint 0 refers to the first placed waypoint, whereas waypoint 0 with the setCurrentWaypoint command refers to the units initial position waypoint.

Way
Does not seem to work with Game Logic as of ArmA v1.08. Crashes to desktop.

Personal tools
Buy ArmA now!