setTriggerTimeout: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 13: Line 13:


|p1= trigger: [[Object]] |= Parameter 1
|p1= trigger: [[Object]] |= Parameter 1
 
|p2= [min, mid, max, interruptable]: [[Array]] |= Parameter 2
|p2= [min, mid, max, interruptable]: [[Array]] ([[Number]],[[Number]],[[Number]],[[Boolean]]) |= Parameter 2
|p3= min: [[Number]] |= Parameter 3
|p4= mid: [[Number]] |= Parameter 4
|p5= max: [[Number]] |= Parameter 5
|p6= interruptable: [[Boolean]] |= Parameter 6


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 21:21, 25 January 2009

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

Description

Description:
Defines the time between condition satisfaction and trigger activation (randomly from min to max, with an average value mid). If the last argument is true, the condition must be fullfilled all the time.
Groups:
Uncategorised

Syntax

Syntax:
trigger setTriggerTimeout [min, mid, max, interruptable]
Parameters:
trigger: Object
[min, mid, max, interruptable]: Array
min: Number
mid: Number
max: Number
interruptable: Boolean
Return Value:
Nothing

Examples

Example 1:
_trigger setTriggerTimeout [5, 10, 7, false ]

Additional Information

See also:
createTrigger, setTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerType

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

Bottom Section