I have an alarm sound that is triggered by going through a door in UE4 and wanted to stop this sound playing after a machine has been destroyed. I have it set with the root components etc and I want this to stop playing when a machine has been destroyed.
The machine plays a mechanical loop and explodes when ‘e’ is pressed in its trigger but I don’t know how to destroy the alarm sound at the same time as the loops and machine.
I have the triggers into a gate with ‘e’ which then goes to destroy actors (the sound and the object) and then to play attached sound (the explosion) but I also need the alarm sound to be destroyed at the same time as the sound of the machine and the actual object, which I can’t seem to integrate into this system.
Anyone know? I’m fairly new to Unreal Engine, help would be appreciated.