setTriggerStatements: Difference between revisions
Jump to navigation
Jump to search
(add. see also) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| trigger '''setTriggerStatements''' [cond, activ, desactiv] |= Syntax | | trigger '''setTriggerStatements''' ["cond", "activ", "desactiv"] |= Syntax | ||
|p1= trigger: [[Object]] |= Parameter 1 | |p1= trigger: [[Object]] |= Parameter 1 | ||
|p2= [cond, activ, desactiv]: [[Array]] |= Parameter 2 | |p2= [cond, activ, desactiv]: [[Array]] [[String]]s |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>_trigger setTriggerStatements ["this", "ok <nowiki>=</nowiki> [[true]]", "ok <nowiki>=</nowiki> [[false]]"]</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:39, 31 August 2007
Description
- Description:
- The first argument can modify the condition of when the trigger is activated. The result of the activation defined by trigger activation is in variable this. Variable thisList contains all vehicles which caused the activation. Activ and desactiv expressions are launched upon trigger activation / deactivation.
- Groups:
- Uncategorised
Syntax
- Syntax:
- trigger setTriggerStatements ["cond", "activ", "desactiv"]
- Parameters:
- trigger: Object
- [cond, activ, desactiv]: Array Strings
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- createTriggersetTriggerActivationsetTriggerAreasetTriggerTextsetTriggerTimeoutsetTriggerType
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