|
Hi all i just made a shooting script and it works perfectly :) but the problem is the shooting is to fast i want a delay in there so if i press F on the keyboard rapidly it wont let me shoot until the delay time is over. I want to set the delay time as 1.5 sec and then the you can shoot again. After 1.5 sec you can shoot :) when you press F on the keyboard Here is my script: Please someone help me thank you so much :) MCHALO
(comments are locked)
|
|
use invoke to delay calling something. If you want to keep people from being able to mash on buttons as fast as they can, you can just do a conditional time test. IE) It does not take no effect the bullets still go in the same speed and there is no delay
Jul 24 '11 at 04:45 AM
MC HALO
Can you please use my variable name in the condition you have written :). Do i place it in the update function ?
Jul 24 '11 at 04:46 AM
MC HALO
Sorry, maybe someone else will- but I have a strict 'no writing code for people' policy. I don't mind giving an example and explaining something if it's not clear, but I'm not going to write your code for you.
Jul 24 '11 at 04:48 AM
testure
dont worry about it mate im sure someone will
Jul 24 '11 at 04:54 AM
MC HALO
(comments are locked)
|
