setTriggerActivation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands OFP Elite |SETTRIGGERACTIVATION]]
[[Category:Scripting Commands OFP Elite |SETTRIGGERACTIVATION]]
[[Category:Scripting Commands ArmA|SETTRIGGERACTIVATION]]
[[Category:Scripting Commands ArmA|SETTRIGGERACTIVATION]]
<new command not populated>





Revision as of 16:18, 4 July 2006


trigger setTriggerActivation [by, type, repeating]


Operand types:

trigger: Object

[by, type, repeating]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

Defines the trigger activation type. The first argument - who activates trigger (side, radio, vehicle or group member): "NONE", "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET", "STATIC", "VEHICLE", "GROUP", "LEADER" or "MEMBER". The second argument - when is it activated (presention or detection by the specified side): "PRESENT", "NOT PRESENT", "WEST D", "EAST D", "GUER D" or "CIV D". The third argument - whether the activation is repeating.

Example:

trigger setTriggerActivation ["WEST", "EAST D", true]