setTriggerStatements: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (fixed example)
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>trigger setTriggerStatements ["this", "ok = [[true]]", "ok = [[false]]"]</pre> |= Example 1
|x1= <code>trigger setTriggerStatements ["this", "ok = [[true]]", "ok <nowiki>=</nowiki> [[false]]"]</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:07, 5 August 2006

Hover & click on the images for description

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
Return Value:
Nothing

Examples

Example 1:
trigger setTriggerStatements ["this", "ok = true", "ok = false"]

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

Notes

Bottom Section