Urban Wars
February 08, 2025, 08:41:43 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome, here you will find all the information on Urban Wars
 
  Home Help Search Staff List Login Register  

Randomly spawning a different sprite

Pages: 1 [2]
  Print  
Author Topic: Randomly spawning a different sprite  (Read 1016 times)
Mexicouger
Lieutenant
*
Posts: 111


View Profile
« Reply #15 on: April 24, 2010, 02:04:04 am »

OK i think I get it now. I added richochet sounds and I don`t want it to play on a player. Also, sorry bout so many questions and bad spelling. My phone is retarded and blends letters. I also wa sjust messing with th erandom code and added a random func to a .nextthink function, an dnow the debris randomly disapears between 1-8 seconds. I think coding is fooking awesome. Now I did something a bit offtopic a while ago. I created a solid sprite that .thinks about shooting a weapon. he .nextthinks in 3 seconds but never nextthinks. Any help? like he will shoot the weapon when I load the map in 3 seconds, But he won`t shoot it again. I added the think funcstions and all. i put his .think = W_FirePistol  and he does the whole pistol action, but he won`t do it again.
Report Spam   Logged
Pages: 1 [2]
  Print  
 
Jump to:  


Get your own Chat Box! Go Large!
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy