Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:

Sets the waypoint completion radius (entities complete a waypoint, if they are in its circle).

Only has an effect on units with the "COMBAT" waypoint behavior (see setWaypointBehaviour), and if the completion radius is larger than 25m. Even then, the distance at which a waypoint is considered completed may vary by about 10m from the specified value.

Syntax

Syntax:waypoint setWaypointCompletionRadius radius
Parameters:
  • waypoint: Waypoint - Affected waypoint.
  • radius: Number - Completion radius.
Return Value:Nothing

Examples

Examples:[grp,2] setWaypointCompletionRadius 30

Additional Information

See also: waypointCompletionRadius
Multiplayer:
Problems:

Notes