triggerActivated: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (locality and note added) |
No edit summary |
||
Line 38: | Line 38: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">14:50, 9 June 2015 (CEST)</dd> | |||
<dt class="note">'''[[User:MisterGoodson|MisterGoodson]]''' | |||
<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). | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 13:50, 9 June 2015
Description
- Description:
- Returns true if the trigger has been activated. Note: The trigger could be local or remote but the result returned by this command will be for the trigger condition set up locally on the client that executed the command. See createTrigger for more info.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
if (triggeractivated trg1) then {};
Additional Information
- See also:
- setTriggerActivationtriggerActivation
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).
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2 version 1.00
- Arma 2: New Scripting Commands
- Arma 2: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- ArmA 2: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Activators