trigger_custom
Dispatches a named custom trigger, which can activate other effect chains listening for that trigger ID.
Categories: meta
Required arguments
| Key(s) | Description | Type |
|---|
trigger | The ID of the custom trigger to dispatch. | STRING |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
value | An optional value to pass to the dispatched trigger. Supports expressions. | EXPRESSION | 0 |
Example
effects:
- id: trigger_custom
args:
trigger: <value>
value: <expression> # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |
| Permanent | false |