setTriggerInterval: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 12: | Line 12: | ||
| Sets the interval in seconds for trigger condition check.<br><br> | | Sets the interval in seconds for trigger condition check.<br><br> | ||
{{Informative | Triggers are configured to check condition approx. every 0.5 second by default. This command allows either to slow down or to speed up default check interval per trigger. Setting interval to 0 will make the trigger check its condition every frame. However, when trigger is attached to some object, the trigger will inherit the simulation frequency of the object it is [[attachedTo | attached to]]. This command cannot change the interval of the attached trigger. The trigger can also be "frozen" with [[enableSimulation]] command.}} | {{Feature | Informative | Triggers are configured to check condition approx. every 0.5 second by default. This command allows either to slow down or to speed up default check interval per trigger. Setting interval to 0 will make the trigger check its condition every frame. However, when trigger is attached to some object, the trigger will inherit the simulation frequency of the object it is [[attachedTo | attached to]]. This command cannot change the interval of the attached trigger. The trigger can also be "frozen" with [[enableSimulation]] command.}} | ||
| trigger [[setTriggerInterval]] interval | | trigger [[setTriggerInterval]] interval |
Revision as of 00:13, 7 February 2021
Description
- Description:
- Description needed
- Multiplayer:
- Interval changes are local.
- Groups:
- Triggers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- trigger: Object - Trigger object
- interval: Number - Interval in seconds with which trigger condition is checked
- Return Value:
- Return value needed
Examples
- Example 1:
_trigger setTriggerInterval 5;
Additional Information
- See also:
- See also needed
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