setTriggerStatements: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.86|= Game version | |||
____________________________________________________________________________________________ | |||
| 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. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | trigger '''setTriggerStatements''' [cond, activ, desactiv] |= Syntax | ||
|p1= trigger: [[Object]] |= Parameter 1 | |||
|p2= [cond, activ, desactiv]: [[Array]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>trigger setTriggerStatements ["this", "ok = [[true]]", "ok = [[false]]"]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETTRIGGERSTATEMENTS]] | |||
[[Category:Scripting Commands OFP Elite |SETTRIGGERSTATEMENTS]] | |||
[[Category:Scripting Commands ArmA|SETTRIGGERSTATEMENTS]] | |||
Revision as of 23:32, 1 August 2006
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