Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:

Defines the trigger activation type. For more information, see Triggers in the VBS3 Editor Manual.

Syntax

Syntax:trigger setTriggerActivation [by, type, repeating]
Parameters:
  • trigger: Object - Trigger object.
  • by: String - Who activates trigger. Can be:
    • "NONE"
    • Side-related - "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY".
    • Radio-related - "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET".
    • Object-related - "STATIC", "VEHICLE", "GROUP", "LEADER", "MEMBER".
    • Status-related - "WEST SEIZED", "EAST SEIZED", "GUER SEIZED".
  • type: String - How the trigger is it activated. Can be:
    • Presence-related"PRESENT", "NOT PRESENT".
    • Detection-related - "WEST D", "EAST D", "GUER D", "CIV D".
  • repeating: Boolean - Activation can happen repeatedly.
Return Value:Nothing

Examples

Examples:
_trigger setTriggerActivation ["WEST", "EAST D", true];

Additional Information

See also:triggerActivation
Multiplayer:Triggers are local, and so are its activation changes.
Problems:

Notes