Could someone help me? I need to figure out how to make waves of enemies, That make a sound at every wave start. the waves should come when the last enemy from previuous wave is killed, with a delay of 30 seconds. Be aware, i’m VERY limited on my scripting, as i am only fluent doing GUI. Thanks!
It’s very difficult to give advice about this without more detail about what type of game it is, how the waves are started, etc. However, you will probably need to schedule a function to get called 30 seconds after the last enemy dies. One option is to use MonoBehaviour.Invoke:-
// You might use this on a "supervisor" object that handles the waves...
Invoke("NewWave", 30);
...
function NewWave() {
// Code to start wave.
}
If you take a look at the spawner script link in my sig, you can try take a look at that and see how it goes and then I can try help with what you need if you still need help