---
name: "list"
type: command
status: ok
groups: ["Triggers"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/list
revid: 378370
updated: 2026-04-03T16:47:58Z
---

# list

*Command · Triggers · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

Locality: arguments **global** · effect **local**

## Description

List of units that would activate given Trigger.

It returns nothing before the simulation started, i.e. in (undelayed) init.sqf files. Returns a **[pointer](../topics/Array.md#array-properties)** to the trigger's list after the simulation started.

Since this is just a *reference* this means that the value in your local variable will change as the content of the trigger area changes.
To permanently copy the returned list to a different variable, use `_mylist = +(list triggerOne)`.

The second example can be used inside the trigger (in that case, no need to name your trigger).

The list returned for trigger of type "Not present" is the same as that returned for type "present".

> [!IMPORTANT]
> While the command can query any trigger, local or remote, the result will be only for the trigger condition set on the local client. See [createTrigger](../commands/createTrigger.md) for more info.

## Syntax

```sqf
list trigger
```

**Parameters:**

- `trigger`: [Object](../topics/Object.md)

**Returns:** [Nothing](../topics/Nothing.md) or [Array](../topics/Array.md) of [Object](../topics/Object.md)s

## Examples

### Example 1

```sqf
_triggerList = list _triggerOne;
```

### Example 2

```sqf
hint format ["%1", thisList];
```

## See also

[setTriggerActivation](../commands/setTriggerActivation.md) · [createTrigger](../commands/createTrigger.md) · [thisList](../topics/Magic_Variables.md)

## Community notes

**TeaCup** — 2013-03-06

Calling [list](../commands/list.md) immediately after creating a trigger via [createTrigger](../commands/createTrigger.md) (and setting up activation, area, statements, timeout, etc..), will return `<null>` instead of an array. It seems the trigger needs about 1 second to initialise, after which it will behave as expected: returning an array of all the objects inside the trigger (the ones matching the criteria), or an empty array.

---

**7erra** — 2021-01-06

The resulting array is not modifiable. Any array related commands, that modify the original array, will fail with the error message: `Error Reserved variable in expression`.

<sub>Source: [BI Community Wiki — list](https://community.bistudio.com/wiki/list) (revision 378370).</sub>
