Arma 3 Scripting

setWaypointTimeout

  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · original wiki page

Description

Defines the time between condition satisfaction and waypoint finish (randomly from min to max, with an average value mid).

Syntax

waypoint setWaypointTimeout [min, mid, max]

Parameters:

Returns: Nothing

Examples

Example 1

[_grp, 2] setWaypointTimeout [5, 10, 6];

See also

waypoints · deleteWaypoint · copyWaypoints · setCurrentWaypoint · setWaypointBehaviour · setWaypointCombatMode · setWaypointCompletionRadius · setWaypointDescription · setWaypointFormation · setWaypointHousePosition · setWaypointPosition · setWaypointScript · setWaypointSpeed · setWaypointStatements · setWaypointType · setWaypointVisible · waypointAttachVehicle · waypointAttachedVehicle · setWaypointLoiterRadius · waypointLoiterRadius · addWaypoint · setWaypointLoiterType · waypointTimeoutCurrent · waypointSpeed

Community notes

Lucky44

The example doesn't seem to make sense, according to the listed syntax. It seems to set a Max time greater than the Mid time.

Tom 48 97

If mid is greater than max, the result will be really near the mid value. Results with the values of the example: 8.237, 9.383, 10.425, 9.417, 9.43401, 10.425, 9.90601, 9.96701, 9.42401, 9.42502, 9.96698, 9.89999...