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


Introduced in

Version:1.00

Description

Description:List of units to activate the given trigger . For the "Not Present" trigger type, the list is the same as that returned for "Present".

Syntax

Syntax:list trigger
Parameters:
  • trigger: Triggers - Trigger to activate.
Return Value:

Array or Nothing - It returns nothing before the simulation starts - in an (undelayed) init.sqf or in the VBS OME. Returns an Array references to the trigger list, after the simulation starts. Since this is just a reference, this means that the value in your local variable changes as the content of the trigger area changes. To permanently copy the returned list to a different variable, use _mylist = +(list triggerOne).

Examples

Examples:_tlist = list _triggerOne

Additional Information

See also:
Multiplayer:
Problems:

Notes






  • To use the trigger list inside the trigger definition (in the "On Activation/Deactivation" fields) use the array thislist instead.

{player sidechat format["%1 activated trigger",_x]} foreach thislist