Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Can I use scripts to activating sound?
Can I use scripts to activating sound? [message #18368] Sat, 03 May 2003 07:58 Go to previous message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma:
General (1 Star)
JFW_2D_Sound_Timer_Health

(plays a 2D sound when the timer expires but only if the health of the object its attatched to is between certain values, great for "building is damaged" for example)

Time (how long the timer should run for)

TimerNum (what number to use for the timer)

Repeat (whether to repeat this or to only send it once, 1 = repeat, 0 = not repeat)

Sound (the sound preset to use, must be 2D)

Min_Health (minumum health can be for the sound to play)

Max_Health (maximum health can be for the sound to play)

This also works on vehicles too. It will play a Global sound (everyone in game hears it) every X seconds when it is in between Y and Z amount of health. If you need any more help, let me know. Some other cool script tutorials at http://www.renhelp.info

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
 
Read Message
Read Message
Read Message
Previous Topic: Whair can I get a Map editer?
Next Topic: An idea to give tribute to the Armed Forces
Goto Forum:
  


Current Time: Fri Dec 20 05:26:33 MST 2024

Total time taken to generate the page: 0.00840 seconds