setTriggerActivation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
Line 36: Line 36:




[[Category:Scripting Commands|SETTRIGGERACTIVATION]]
 
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}

Revision as of 01:55, 5 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Multiplayer:
Activation changes are local.
Groups:
Triggers

Syntax

Syntax:
Syntax needed
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:
Return value needed

Examples

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

Additional Information

See also:
See also needed

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