{"name":"triggerTimeoutCurrent","title":"triggerTimeoutCurrent","type":"command","url":"https://community.bistudio.com/wiki/triggerTimeoutCurrent","revid":376123,"updated":"2025-09-01T08:15:52Z","groups":["Triggers"],"status":"ok","games":{"arma3":"1.08"},"since":"arma3 1.08","arma3_since":"1.08","locality":{"argument":"global"},"description":"Returns current timeout of the given trigger or -1 if countdown is not in progress.\n\n> [!IMPORTANT]\n> The trigger could be local or remote but the result returned by this command will be for the current trigger timeout local to the client that executed the command.\n> See createTrigger for more info.","syntaxes":[{"syntax":"triggerTimeoutCurrent trigger","params":[{"name":"trigger","type":"Object","description":"trigger object","type_expr":"Object"}],"returns":{"type":"Number","type_expr":"Number","description":"time remaining before trigger activation."},"form":"unary","right":{"text":"trigger"}}],"examples":[{"code":["_remaining = triggerTimeoutCurrent _trigger;"]}],"see_also":["triggerTimeout","setTriggerTimeout","waypointTimeoutCurrent"],"notes":[{"user":"Killzone_Kid","date":"2013-11-26T12:16:00Z","text":"Triggers have their own schedule. If you create a trigger with timeout and try to read triggerTimeoutCurrent immediately it will return -1.\nThis is because the countdown will not start until the next scheduled trigger check is due, and this could take up to 0.5 seconds."}]}