sfx
Plays a one-shot from audio/sfx/.
{ "type": "sfx", "value": "door_open", "volume": 0.5 }
[sfx door_open volume 0.5]
Usually you need
| Field | Type | Default | Effect |
|---|---|---|---|
value | string | — | Sample name |
volume | 0–1 | 1.0 | Linear scale |
All fields
| Field | Type | Default | Effect |
|---|---|---|---|
value | string | — | Sample; empty/null is a no-op |
volume | 0–1 | 1.0 | Scale |
when | expression | — | Skip when falsy |