CONTENT CONTRACT · VERSION 1
play_audio
Play a positioned audio cue after commit; audio failures change no state.
Signature
{ cue: AudioCueId, kind: "play_audio", position: Position }Fields
| Name | Type | Meaning |
|---|---|---|
cue | AudioCueId | Audio cue to play. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: audio_cue |
kind | "play_audio" | Discriminant |
position | Position | Where the cue sounds. |
Validated example
{
"cue": "core:hill_golem_roar_sound",
"kind": "play_audio",
"position": {
"map": "m1",
"x_mm": 226000,
"y_mm": 0,
"z_mm": -175000
}
}