setTriggerStatements: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
||
Line 34: | Line 34: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on Mar 14, 2011 - 20:52</dd> | <dd class="notedate">Posted on Mar 14, 2011 - 20:52</dd> | ||
Line 48: | Line 49: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on September 16, 2014 - 17:41 (UTC)</dd> | <dd class="notedate">Posted on September 16, 2014 - 17:41 (UTC)</dd> |
Revision as of 13:34, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Triggers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- trigger: Object - Trigger object
- [condition, activation, deactivation]: Array
- condition: String - Code containing trigger condition. Special variables available here:
- activation: String - Code that is executed when the trigger is activated. Special variables available here:
- thisTrigger (Object) - trigger instance
- thisList (Array) - array of all detected entities
- deactivation: String - Code that is executed when the trigger is deactivated. Special variable available here:
- thisTrigger (Object) - trigger instance
- Return Value:
- Nothing
Examples
- Example 1:
_trg setTriggerStatements ["this", "hint 'trigger on'", "hint 'trigger off'"]
Additional Information
- See also:
- triggerStatementscreateTriggersetTriggerActivationsetTriggerAreasetTriggerTextsetTriggerTimeoutsetTriggerTypethisthisListthisTriggertriggerIntervalsetTriggerIntervalenableSimulationsimulationEnabled
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
- Posted on Mar 14, 2011 - 20:52
- Scifer
- An array with three arguments is mandatory for this function.
- Posted on September 16, 2014 - 17:41 (UTC)
- Heeeere's Johnny!
- Magic variable thisList does not contain dead units.