setTriggerActivationEH (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.18
Description
- Description:
- Sets optional script that is executed when the trigger activates.
Syntax
- Syntax:
- trigger setTriggerActivationEH action
- Parameters:
- trigger: Object
- action: String
- Return Value:
- Nothing
Examples
- Example 1:
_trg setTriggerActivationEH "removeAllWeapons player"
Additional Information
- Multiplayer:
- Behaviour unknown.

