setWaypointTimeout: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<pre> to <code> + "see also")
m (see also, note formating)
Line 24: Line 24:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addWaypoint]], [[waypointTimeout]],  
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]] |= See also
[[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointLoiterRadius]], [[setWaypointLoiterType]], [[setWaypointName]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointType]], [[setWaypointVisible]] |= See also


}}
}}
Line 32: Line 31:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 00:32, 12 December 2010</dd>
<dt class="note">[[User:Lucky44|Lucky44]]</dt>
<dd class="note">
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.


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.
<dd class="notedate">Posted on  03:30, 12 December 2010</dd>
 
<dt class="note">[[User:Tom 48 97|Tom 48 97]]</dt>
 
<dd class="note">
[[User:Tom 48 97|tom_48_97]] 04:30, 12 December 2010 (CET):
 
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...
Ps: I'll delete these comments on saturday.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 02:51, 9 May 2014

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

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

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:
waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterType

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

Notes

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...

Bottom Section