Hello, I'm looking for a way to check the status of an NPC playing a sound. I've rigged up an NPC to play a music disc upon request like so:
chat trigger:
1:
trigger: /Blocks|Cat|Chirp|Creator|Far|Mall|Mellohi|Otherside|Pigstep|Precipice|Relic|Stal|Strad|Wait|Ward/
hide trigger message: true
show as normal chat: false
script:
- playsound <npc.location> sound:music_disc_<context.keyword>
Essentially, I'd like to prevent players from playing a new track before the previous one is finished. I thought I was onto something with the tag, <npc[19].silent>, but it seems like the playsound is not attached to the npc.
Any ideas? Worst case I'll just hard code the various times of each music disk