setTriggerActivation: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2") |
||
Line 28: | Line 28: | ||
|p1= trigger: [[Object]] - trigger object | |p1= trigger: [[Object]] - trigger object | ||
|p2= by: [[String]] - | |p2= by: [[String]] - who activates trigger. Can be {{hl|"NONE"}} or<br> | ||
* Side: {{hl|"EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ANYPLAYER"}} (''Since Arma 3 v1.67'') | * Side: {{hl|"EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ANYPLAYER"}} (''Since Arma 3 v1.67'') | ||
* Radio:{{hl| "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET"}} | * Radio:{{hl| "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET"}} |
Revision as of 16:35, 8 November 2023
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. Since Arma 3 v1.67, "ANYPLAYER" activation can be used to detect any player.
- Multiplayer:
- Activation changes are local.
- Groups:
- Triggers
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", "ANYPLAYER" (Since Arma 3 v1.67)
- 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:
Additional Information
- See also:
- triggerActivation triggerActivated createTrigger setTriggerArea setTriggerStatements setTriggerText setTriggerTimeout setTriggerType triggerAttachVehicle triggerAttachObject triggerInterval setTriggerInterval enableSimulation simulationEnabled
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Triggers
- Scripting Commands: Local Effect