setTriggerInterval: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Killzone Kid (talk | contribs) mNo edit summary |
||
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 attached to. This command cannot change the interval of the | {{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.}}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 17:26, 29 September 2019
Description
- Description:
- Sets the interval in seconds for trigger condition check.
- Multiplayer:
- Interval changes are local.
- Groups:
- Uncategorised
Syntax
- Syntax:
- trigger setTriggerInterval interval
- Parameters:
- trigger: Object - Trigger object
- interval: Number - Interval in seconds with which trigger condition is checked
- Return Value:
- Nothing
Examples
- Example 1:
_trigger setTriggerInterval 5;
Additional Information
- See also:
- triggerIntervaltriggerActivationtriggerActivatedcreateTriggersetTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeoutsetTriggerTypetriggerAttachVehicletriggerAttachObjectenableSimulationsimulationEnabled
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
[[Category:Introduced with arma3dev version 1.97]][[ Category: arma3dev: New Scripting Commands | SETTRIGGERINTERVAL]][[ Category: arma3dev: Scripting Commands | SETTRIGGERINTERVAL]]