Jump to content
Sign in to follow this  
mej023

How to add screaming

Recommended Posts

Would someone point me to a tutorial, example mission or explain here how I can set up a mission so that when AI or my own guys get wounded they scream (you know, those blood curdling screams that make you cringe)? I have some scream .ogg files already, I just need to know how to add them to my missions.

I know this has been done before but I could not find the answer through the search function. Thanks.

Share this post


Link to post
Share on other sites

Add an eventHandler "hit" to every unit you want to scream. When the loon is hit the EH calls a script that checks the loon is alive and sufficiently injured, and if he is, YYYEEEAAOOOOOWWWWW.

Note that if you have a big battle you may run into lag issues. Maybe be a little selective in who gets to scream.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×