Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Nod Stealth Sound
Re: Nod Stealth Sound [message #286313 is a reply to message #285706] Tue, 25 September 2007 05:59 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
You could make a function that is called when a player enters a vehichle (or edit the existing one) so that if the vehichle name is "cnc_stealth_tank" (or whatever it's called) it attaches a script.

On the ::created event of your script start a timer of exactly how long it takes for the stank to stealth.
Then on the ::timer_expired event make it play a 2d_wav_sound (the one that sounds like a stank stealthing up).
But it the guy exits the vehichle before the timer is up then it destroys the script.

That would work, and it would work server-side too.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Vehicle Speed
Next Topic: W3D name of
Goto Forum:
  


Current Time: Sat Dec 28 20:12:45 MST 2024

Total time taken to generate the page: 0.01202 seconds