Hey i want to know how to stop sounds playing when my fps character dies? when you die, you can still press the shoot button to shoot, hearing the sound effect still, but i want it to stop activating when you press the shoot button?
thanks.
Develop games in your browser. Powerful, performant & highly capable.
Hi. Try to prevent the user to control the character.
I'm not sure, but:
Set ignoring input -> Start Ignoring
Set Enabled -> Disabled
properties may help :)
Good luck!
Add a 'compare values' condition to any events involved with shooting. If you check:
Player.Count > 0
then the event won't run when there are no Player objects.