setTriggerStatements: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed version)
(add. see also)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[createTrigger]], [[setTriggerActivation]], [[setTriggerArea]], [[setTriggerText]], [[setTriggerTimeout]], [[setTriggerType]] |= See also


}}
}}
Line 37: Line 37:
[[Category:Scripting Commands OFP Elite |SETTRIGGERSTATEMENTS]]
[[Category:Scripting Commands OFP Elite |SETTRIGGERSTATEMENTS]]
[[Category:Scripting Commands ArmA|SETTRIGGERSTATEMENTS]]
[[Category:Scripting Commands ArmA|SETTRIGGERSTATEMENTS]]
[[Category:Command_Group:_Activators|{{uc:{{PAGENAME}}}}]]

Revision as of 07:59, 11 January 2007

-wrong parameter ("Arma") defined!-1.00
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:
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

Notes

Bottom Section