Unreal Engine 5 Blueprints: First Person Shooter (FPS) is the course I’m on, I’m going back through and adding new features to the project. Specifically having the enemy drone play a sound when it’s aggroed by the player, this occurs when the player gets too close to the drone or when they shoot the drone.
When no sound plays there’s no issue because the drone aggros and chases you as intended. But when I have a sound play the Play Sound at Location function triggers every time that I shoot the drone, and with an automatic weapon that happens a lot. This results in the sound file playing over and over and getting louder each time it overlaps.
So, what I’m wondering is how to limit the sound file to only play one time when the drone is initially aggroed. Any help is greatly appreciated!