{"name":"setWaypointTimeout","title":"setWaypointTimeout","type":"command","url":"https://community.bistudio.com/wiki/setWaypointTimeout","revid":377755,"updated":"2026-01-03T00:58:12Z","groups":["Waypoints"],"status":"ok","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","description":"Defines the time between condition satisfaction and waypoint finish (randomly from min to max, with an average value mid).","syntaxes":[{"syntax":"waypoint setWaypointTimeout [min, mid, max]","params":[{"name":"waypoint","type":"Waypoint","type_expr":"Waypoint"},{"name":"min","type":"Number","type_expr":"Number"},{"name":"mid","type":"Number","type_expr":"Number"},{"name":"max","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"waypoint"},"right":{"text":"[min, mid, max]"}}],"examples":[{"code":["[_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"],"notes":[{"user":"Lucky44","date":"2010-12-12T00:32:00Z","text":"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."},{"user":"Tom 48 97","date":"2010-12-12T03:30:00Z","text":"If mid is greater than max, the result will be really near the mid value.\nResults 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..."}]}