setEffectCondition (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:
- The statement is executed when the trigger or waypoint is activated and the effects are launched depending on the result. If the result is a boolean and true, the effect is launched. If the result is an object, the effect is launched if the result is the player or the player vehicle. If the result is an array, the effect is launched if the result contains the player or the player vehicle.
Syntax
- Syntax:
- trigger or waypoint setEffectCondition statement
- Parameters:
- trigger or waypoint: Object
- statement: String
- Return Value:
- Nothing
Examples
- Example 1:
trigger setEffectCondition "thisList"
Additional Information
- Multiplayer:
- Behaviour unknown.

