triggerActivated: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ") |
||
Line 31: | Line 31: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">14:50, 9 June 2015 (CEST)</dd> | <dd class="notedate">14:50, 9 June 2015 (CEST)</dd> | ||
<dt class="note">[[User:MisterGoodson|MisterGoodson]] | <dt class="note">[[User:MisterGoodson|MisterGoodson]]</dt> | ||
<dd class="note">If trigger already activated at least once, [[triggerActivated]] will only return false if trigger is set to activate Repeatedly.<br> | <dd class="note">If trigger already activated at least once, [[triggerActivated]] will only return false if trigger is set to activate Repeatedly.<br> | ||
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). | 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). |
Revision as of 01:27, 30 January 2021
Description
- Description:
- Description needed
- Groups:
- Triggers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- trigger: Object
- Return Value:
- Return value needed
Examples
- Example 1:
if (triggerActivated trg1) then { // code };
Additional Information
- See also:
- See also needed
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
- 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).