setTriggerActivation (VBS1)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 1
- Version:
- 2.12.14
Description
- 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.
Syntax
- Syntax:
- trigger setTriggerActivation [by, type, repeating]
- Parameters:
- trigger: Object
- [by, type, repeating]: Array
- Return Value:
- Nothing
Examples
- Example 1:
trigger setTriggerActivation ["WEST", "EAST D", true]
Additional Information
- Multiplayer:
- Behaviour unknown.

