setTriggerActivation: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) ("ANYPLAYER") |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 18: | Line 18: | ||
|p1= trigger: [[Object]] - Trigger object |= Parameter 1 | |p1= trigger: [[Object]] - Trigger object |= Parameter 1 | ||
|p2= by: [[String]] - Who activates trigger. Can be <tt>"NONE"</tt> or<br> | |p2= by: [[String]] - Who activates trigger. Can be <tt>"NONE"</tt> or<br> | ||
* Side: <tt>"EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ANYPLAYER" (''Since Arma 3 v1.67'') | * Side: <tt>"EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ANYPLAYER"</tt> (''Since Arma 3 v1.67'') | ||
* Radio:<tt> "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET"</tt> | * Radio:<tt> "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET"</tt> | ||
* Object: <tt>"STATIC", "VEHICLE", "GROUP", "LEADER", "MEMBER"</tt> | * Object: <tt>"STATIC", "VEHICLE", "GROUP", "LEADER", "MEMBER"</tt> |
Revision as of 02:05, 1 December 2016
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:
- 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", "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:
_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
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Activators
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters