---
name: "setEffectCondition"
type: command
status: ok
groups: ["Triggers"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setEffectCondition
revid: 377586
updated: 2026-01-02T06:56:46Z
---

# setEffectCondition

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

## 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](../topics/Boolean.md) and [true](../commands/true.md), 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](../topics/Array.md), the effect is launched if the result contains the player or the player vehicle.

## Syntax

### Syntax 1

```sqf
trigger setEffectCondition statement
```

**Parameters:**

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

**Returns:** [Nothing](../topics/Nothing.md)

### Syntax 2

```sqf
waypoint setEffectCondition statement
```

**Parameters:**

- `waypoint`: Waypoint - Waypoint
- `statement`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_triggerObj setEffectCondition "thisList";
```

## See also

[createTrigger](../commands/createTrigger.md)

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