setWaypointTimeout: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| arma1 \|1.00 \|([^g]|g[^a])" to "| ofpe | 1.00 |game2= arma1 |version2= 1.00 |game3= arma2 |version3= 1.00 |game4= arma2oa |version4= 1.50 |game5= tkoh |version5= 1.00 |game6= arma3 |version6= 0.50 |$1") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 23: | Line 23: | ||
| Defines the time between condition satisfaction and waypoint finish (randomly from min to max, with an average value mid). | | Defines the time between condition satisfaction and waypoint finish (randomly from min to max, with an average value mid). | ||
| waypoint '''setWaypointTimeout''' [min, mid, max] | |s1= waypoint '''setWaypointTimeout''' [min, mid, max] | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] | |p1= waypoint: [[Array]] - format [[Waypoint]] |
Revision as of 23:27, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Waypoints
Syntax
- Syntax:
- waypoint setWaypointTimeout [min, mid, max]
- Parameters:
- waypoint: Array - format Waypoint
- [min, mid, max]: Array
- min: Number
- mid: Number
- max: Number
- Return Value:
- Nothing
Examples
- Example 1:
[_grp, 2] setWaypointTimeout [5, 10, 6];
Additional Information
- See also:
- waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointTimeoutCurrentwaypointSpeed
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 00:32, 12 December 2010
- 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.
- Posted on 03:30, 12 December 2010
- 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...