Can I use scripts to activating sound? [message #18368] |
Sat, 03 May 2003 07:58 |
|
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
|
|
|