View Single Post
Old
  (#4)
Slyk is Offline
Senior Member
 
Posts: 160
Join Date: Jan 2002
   
Default 12-01-2002, 06:11 AM

Here are some parts of my random exploder script...

First, you need the thread names: (copy/paste/edit as needed for more)

thread random_explode1
thread random_explode2

Then you have the random explode script for each entity. I've shown two here. What you need to do is edit the 'wait (randomfloat # + #). That determines the number of seconds between explosions. IF you want the same time all the time make the numbers the same. WHEM you copy and paste, be sure to change ALL the numbers of 'explode#' in each segment of each piece. More questions, write me.


//////////////////

thread random_explode1
random_explode1:
wait (randomfloat 10 + 15)
$random_explode1 playsound arty_leadinmp
wait .99
$random_explode1 playsound arty_exp_sand3
$random_explode1 anim start
radiusdamage $random_explode1 256 384
goto random_explode1


thread random_explode2
random_explode2:
wait (randomfloat 7 + 9)
$random_explode2 playsound arty_leadinmp
wait .99
$random_explode2 playsound arty_exp_sand3
$random_explode2 anim start
radiusdamage $random_explode2 256 384
goto random_explode2
  
Reply With Quote