Hello so I was going back to a post I did way back in June to add in a boss and I was wondering if there was a way to make this boss have a sound coming from him in a loop till he dies. Like him breathing hard while he chases you.
Thread function on him to either play loop sound or do while loop with sound, something similar to this:
Code Snippet
Plaintext
boss_ent thread breathing(); // This in boss code to thread it
Code Snippet
Plaintext
breathing() { self endon("death"); // This is to end the loop, when boss dies while(isDefined(self)) // Another check for boss being alive, just in case { self playSound("your_sound_alias_entry"); // Remember to modify this to have your sound wait given_time; // Change this to wanted time. Make sure its longer than sound, otherwise it will overlay, when played again } }
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
would this be as a 3D sound? I'm looking for it to be within range of the boss himself. It would be really weird if you're just hearing breathing in your ear every round lol
would this be as a 3D sound? I'm looking for it to be within range of the boss himself. It would be really weird if you're just hearing breathing in your ear every round lol
3D and 2D is set in soundalias. With what we have its going to play on boss itself, so making it 3D in soundalias will make it play properly on boss