setWaypointTimeout: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(23 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] | |p1= waypoint: [[Array]] - format [[Waypoint]] | ||
|p2= | |||
|p3= | |p2= min: [[Number]] | ||
|p4 | |||
|p3= mid: [[Number]] | |||
|p4= max: [[Number]] | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[_grp, 2] setWaypointTimeout [5, 10, 6];</sqf> | ||
|seealso= [[waypoints]] [[deleteWaypoint]] | |seealso= [[waypoints]] [[deleteWaypoint]] [[copyWaypoints]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointDescription]] [[setWaypointFormation]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointSpeed]] [[setWaypointStatements]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointTimeoutCurrent]] [[waypointSpeed]] | ||
}} | }} | ||
{{Note | |||
|user= Lucky44 | |||
|timestamp= 20101212003200 | |||
|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. | |||
}} | |||
{{Note | |||
|user= Tom 48 97 | |||
|timestamp= 20101212033000 | |||
|text= If mid is greater than max, the result will be really near the mid value. | |||
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... | 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... | ||
}} |
Latest revision as of 17:52, 15 August 2022
Description
- Description:
- Defines the time between condition satisfaction and waypoint finish (randomly from min to max, with an average value mid).
- Groups:
- Waypoints
Syntax
- Syntax:
- waypoint setWaypointTimeout [min, mid, max]
- Parameters:
- waypoint: Array - format Waypoint
- min: Number
- mid: Number
- max: Number
- Return Value:
- Nothing
Examples
- Example 1:
- [_grp, 2] setWaypointTimeout [5, 10, 6];
Additional Information
- 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
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on Dec 12, 2010 - 00:32 (UTC)
- 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.
- Posted on Dec 12, 2010 - 03:30 (UTC)
- 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...
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Waypoints