triggerActivated: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 11: | Line 11: | ||
| Returns true if the trigger has been activated. | | Returns true if the trigger has been activated. | ||
<br><br>{{Important | The trigger could be [[local]] or remote but the result returned by this command will be for the trigger | <br><br>{{Important | The trigger could be [[local]] or remote but the result returned by this command will be for the trigger activated status on the client that executed the command. See [[createTrigger]] for more info.}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:03, 29 September 2019
Description
- Description:
- Returns true if the trigger has been activated.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
if (triggerActivated trg1) then { // Code };
Additional Information
- See also:
- setTriggerActivationtriggerActivationtriggerIntervalsetTriggerIntervalenableSimulationsimulationEnabled
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
Notes
- 14:50, 9 June 2015 (CEST)
- MisterGoodson
- If trigger already activated at least once, triggerActivated will only return false if trigger is set to activate Repeatedly.
In other words, a trigger set to activate Once will always return true once activated at least once (even if trigger is no longer activated).