Hello, I have created a family group, enemy family that I have set as conditions every time my player's bullet touches an enemy family character, the enemy comes out with a sound, he screams, but I would like to know if I can make the enemy's sound randomize and add other sounds, how to make the enemy give a random sound, I would like at least 4 different sounds. Thank you in advance for your help.
dropbox.com/s/5q3es2l0zz1tkcz/FunShooter%20%2814%29.c3p
Develop games in your browser. Powerful, performant & highly capable.
For example, you name your sounds:
ScreamPart1-1, ScreamPart1-2, ScreamPart1-3, ScreamPart2-1,ScreamPart2-2,ScreamPart2-3...
Then use Audio action play by name
"ScreamPart1-" & choose(1,2,3) - this will play you random sound of those three
Thank you very much for solving my problem, I'll do it like that