setTriggerActivation

From Bohemia Interactive Community
Revision as of 16:18, 4 July 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search


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]