setTriggerActivation

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

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.

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

Multiplayer:
Triggers are local. Thus, activation changes are as well.
See also:
createTrigger, setTriggerArea, setTriggerStatements, setTriggerText, setTriggerTimeout, setTriggerType, triggerAttachVehicle, triggerAttachObject

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools