setTriggerInterval
Jump to navigation
Jump to search


Click on the images for descriptions
Introduced in
- Game:
- Arma 3 Development Branch
- Version:
- 1.97
Description
- Description:
- Sets the interval in seconds for trigger condition check.
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 attached trigger. The trigger can also be "frozen" with enableSimulation command.
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
- Multiplayer:
- Interval changes are local.
- See also:
- triggerIntervaltriggerActivationtriggerActivatedcreateTriggersetTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeoutsetTriggerTypetriggerAttachVehicletriggerAttachObjectenableSimulationsimulationEnabled
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To