setTriggerActivation

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

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"
  • Arma 3 logo black.png1.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:
_trigger setTriggerActivation ["WEST", "EAST D", true];

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