Jump to navigation Jump to search
Revision as of 10:21, 13 May 2022 by Lou Montana (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
- Returns the index of the current waypoint contrary to misleading name. To determine the validity of the index, compare it to the waypoints count. If all waypoints are completed, then the index is 1 greater than the last valid index. If there are no waypoints, then the index is 0. By default, a group has 1 waypoint at their starting position, which is considered completed and so the currentWaypoint is 1.
- currentWaypoint groupName
- groupName: Group
- Return Value:
- Number - The index of current waypoint
- Example 1: