setTriggerActivation: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
|gr1= Triggers | |gr1= Triggers | ||
|descr= Defines the trigger activation type. | |descr= Defines the trigger activation type. | ||
See [[ArmA:_Mission_Editor#Triggers_Mode_.28F3.29|ArmA:Mission Editor - Triggers]] for a thorough overview of triggers and its fields for activation, effects, etc | See [[ArmA:_Mission_Editor#Triggers_Mode_.28F3.29|ArmA:Mission Editor - Triggers]] for a thorough overview of triggers and its fields for activation, effects, etc. | ||
|s1= trigger [[setTriggerActivation]] [by, type, repeating] | |s1= trigger [[setTriggerActivation]] [by, type, repeating] | ||
|p1= trigger: [[Object]] - | |p1= trigger: [[Object]] - trigger object | ||
|p4= repeating: [[Boolean]] - | |p2= by: [[String]] - who activates trigger. Can be {{hl|"NONE"}}, or: | ||
{{{!}} class="wikitable valign-top" | |||
! Side | |||
! Radio | |||
! Object | |||
! Status | |||
{{!}}- | |||
{{!}} | |||
{{Columns|2| | |||
* {{hl|"EAST"}} | |||
* {{hl|"WEST"}} | |||
* {{hl|"GUER"}} | |||
* {{hl|"CIV"}} | |||
* {{hl|"LOGIC"}} | |||
* {{hl|"ANY"}} | |||
* {{GVI|arma3|1.68|size= 0.75}} {{hl|"ANYPLAYER"}} | |||
}} | |||
{{!}} | |||
{{Columns|3| | |||
* {{hl|"ALPHA"}} | |||
* {{hl|"BRAVO"}} | |||
* {{hl|"CHARLIE"}} | |||
* {{hl|"DELTA"}} | |||
* {{hl|"ECHO"}} | |||
* {{hl|"FOXTROT"}} | |||
* {{hl|"GOLF"}} | |||
* {{hl|"HOTEL"}} | |||
* {{hl|"INDIA"}} | |||
* {{hl|"JULIET"}} | |||
}} | |||
{{!}} | |||
{{Columns|3| | |||
* {{hl|"STATIC"}} | |||
* {{hl|"VEHICLE"}} | |||
* {{hl|"GROUP"}} | |||
* {{hl|"LEADER"}} | |||
* {{hl|"MEMBER"}} | |||
}} | |||
{{!}} | |||
* {{hl|"WEST SEIZED"}} | |||
* {{hl|"EAST SEIZED"}} | |||
* {{hl|"GUER SEIZED"}} | |||
{{!}}} | |||
|p3= type: [[String]] - how trigger is it activated. Can be: | |||
{{{!}} class="wikitable valign-top" | |||
! Presence | |||
! Detection | |||
{{!}}- | |||
{{!}} | |||
* {{hl|"PRESENT"}} | |||
* {{hl|"NOT PRESENT"}} | |||
{{!}} | |||
* {{hl|"WEST D"}} | |||
* {{hl|"EAST D"}} | |||
* {{hl|"GUER D"}} | |||
* {{hl|"CIV D"}} | |||
{{!}}} | |||
|p4= repeating: [[Boolean]] - activation can happen repeatedly | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>_trigger setTriggerActivation ["WEST", "EAST D", true]</sqf> | |x1= <sqf>_trigger setTriggerActivation ["WEST", "EAST D", true];</sqf> | ||
|mp= Activation changes are local. | |mp= Activation changes are local. | ||
|seealso= [[triggerActivation]] [[triggerActivated]] [[createTrigger]] [[setTriggerArea]] [[setTriggerStatements]] [[setTriggerText]] [[setTriggerTimeout]] [[setTriggerType]] [[triggerAttachVehicle]] [[triggerAttachObject]] [[triggerInterval]] [[setTriggerInterval]] [[enableSimulation]] [[simulationEnabled]] | |seealso= [[triggerActivation]] [[triggerActivated]] [[createTrigger]] [[setTriggerArea]] [[setTriggerStatements]] [[setTriggerText]] [[setTriggerTimeout]] [[setTriggerType]] [[triggerAttachVehicle]] [[triggerAttachObject]] [[triggerInterval]] [[setTriggerInterval]] [[enableSimulation]] [[simulationEnabled]] | ||
}} | }} |
Latest revision as of 13:30, 12 March 2024
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:
- 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 Radio Object Status - "EAST"
- "WEST"
- "GUER"
- "CIV"
- "LOGIC"
- "ANY"
- 1.68 "ANYPLAYER"
- "ALPHA"
- "BRAVO"
- "CHARLIE"
- "DELTA"
- "ECHO"
- "FOXTROT"
- "GOLF"
- "HOTEL"
- "INDIA"
- "JULIET"
- "STATIC"
- "VEHICLE"
- "GROUP"
- "LEADER"
- "MEMBER"
- "WEST SEIZED"
- "EAST SEIZED"
- "GUER SEIZED"
- type: String - how trigger is it activated. Can be:
Presence Detection - "PRESENT"
- "NOT PRESENT"
- "WEST D"
- "EAST D"
- "GUER D"
- "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