setTriggerActivation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality correction)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|arg= global|= Arguments in MP
|eff= local |= Effects in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 32: Line 33:
|x1= <pre>_trigger setTriggerActivation ["WEST", "EAST D", true]</pre> |= Example 1
|x1= <pre>_trigger setTriggerActivation ["WEST", "EAST D", true]</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________
|mp= Triggers are local. Thus, activation changes are as well. |=
|mp= Triggers are global. Activation changes are local. |=


| [[triggerActivation]], [[triggerActivated]], [[createTrigger]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerText]], [[setTriggerTimeout]], [[setTriggerType]], [[triggerAttachVehicle]], [[triggerAttachObject]]  |= See also
| [[triggerActivation]], [[triggerActivated]], [[createTrigger]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerText]], [[setTriggerTimeout]], [[setTriggerType]], [[triggerAttachVehicle]], [[triggerAttachObject]]  |= See also

Revision as of 14:21, 20 January 2014

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Defines the trigger activation type. See ArmA:Mission Editor - Triggers for a thorough overview of triggers and its fields for activation, effects, etc.
Multiplayer:
Triggers are global. Activation changes are local.
Groups:
Uncategorised

Syntax

Syntax:
trigger setTriggerActivation [by, type, repeating]
Parameters:
trigger: Object - Trigger object
by: String - Who activates trigger. Can be "NONE" or
Side': "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY"
Radio: "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET"
Object: "STATIC", "VEHICLE", "GROUP", "LEADER", "MEMBER"
Status: "WEST SEIZED", "EAST SEIZED" or "GUER SEIZED"
type: String - How trigger is it activated. Can be:
Presence: "PRESENT", "NOT PRESENT"
Detection: "WEST D", "EAST D", "GUER D" or "CIV D"
repeating: Boolean - Activation can happen repeatedly
Return Value:
Nothing

Examples

Example 1:
_trigger setTriggerActivation ["WEST", "EAST D", true]

Additional Information

See also:
triggerActivationtriggerActivatedcreateTriggersetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeoutsetTriggerTypetriggerAttachVehicletriggerAttachObject

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