triggerActivated: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
|1.00|Game version= | |1.00|Game version= | ||
|arg= global|Multiplayer Arguments= | |arg= global|Multiplayer Arguments= | ||
|gr1= Triggers |GROUP1= | |gr1= Triggers |GROUP1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 47: | Line 47: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 11:25, 26 September 2020
Description
- Description:
- Returns true if the trigger has been activated.
- Groups:
- Triggers
Syntax
- Syntax:
- triggerActivated trigger
- Parameters:
- trigger: Object
- Return Value:
- Boolean
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).