Warning: file_put_contents(/ff_33980953a3db270af6122d083fcf018a1d0bd912f481f832.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setTriggerActivation - OFPEC Scripting Command Reference | OFPEC The Editing Center

trigger setTriggerActivation [by, type, repeating]

Operand types

trigger: Object
[by, type, repeating]: Array

Type of returned value

Description

Defines the trigger activation type.

The first argument - who activates trigger (side, radio, vehicle or group member), can be:
"NONE"
"EAST"
"WEST"
"GUER"
"CIV"
"LOGIC"
"ANY"
"ALPHA"
"BRAVO"
"CHARLIE"
"DELTA"
"ECHO"
"FOXTROT"
"GOLF"
"HOTEL"
"INDIA"
"JULIET"
"STATIC"
"VEHICLE"
"GROUP"
"LEADER"
"MEMBER"
"WEST SEIZED"
"EAST SEIZED"
"GUER SEIZED"

The second argument - when is it activated (present or detection by the specified side):
"PRESENT"
"NOT PRESENT"
"WEST D"
"EAST D"
"GUER D"
"CIV D"

The third argument - whether the activation is repeating.

Used In

ArmA

Example

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

Advertisement