Jump to content
Sign in to follow this  
Pierrot

Stop "say" or "vehicleradio"

Recommended Posts

Hi there!

I am making a vehicle addon in which missile-incoming warning sound is activated in "fired" EventHandlers.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class EventHandlers

{

IncomingMissile="_this select 0 vehicleRadio ""warning""";

}

When missiles are launched against the unit, it says "warning! warning! missile launched!". However if many missiles are launched at the same time, then this sound is played as many times as launched missiles IN SERIES!! So it takes much times until it finishes playing the warning sound.

So much so that I want to force the unit to stop playing the warning sound when new even handler is activated. And after it stops playing sound, then the new warning sound is played. No matter how many missiles are launched against this unit, it doesn't take much time to play warning sounds.

Is it possible? wink_o.gif

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  

×