{"name":"setTriggerInterval","title":"setTriggerInterval","type":"command","url":"https://community.bistudio.com/wiki/setTriggerInterval","revid":353312,"updated":"2024-03-15T17:11:45Z","groups":["Triggers"],"status":"ok","games":{"arma3":"1.98"},"since":"arma3 1.98","arma3_since":"1.98","locality":{"argument":"global","effect":"local"},"description":"Sets the interval in seconds for trigger condition check.\n\n> [!NOTE]\n> 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.","syntaxes":[{"syntax":"trigger setTriggerInterval interval","params":[{"name":"trigger","type":"Object","description":"trigger object","type_expr":"Object"},{"name":"interval","type":"Number","description":"interval in seconds with which trigger condition is checked","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"trigger"},"right":{"text":"interval"}}],"examples":[{"code":["_trigger setTriggerInterval 5;"]}],"multiplayer":"Interval changes are local.","see_also":["triggerInterval","triggerActivation","triggerActivated","createTrigger","setTriggerActivation","setTriggerArea","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","triggerAttachVehicle","triggerAttachObject","enableSimulation","simulationEnabled"]}