Page 1 of 1

OnGround thing

PostPosted: Sat Aug 04, 2007 11:29 pm
by Caaz Games
ok almost everyone knows the OnGround thing so you dont keep jumping right? well ive been using it for almost every thing and sometimes it doesn't work right heres the things i'm using it for

1 Buttons - Shooting (You cant in air)
2 Buttons - Running (Goes slower in air)
1 Buttons - Jumping (So you cant "Fly")

so thats four buttons being used with the same variable, is it possible to overuse a variable? :?:

PostPosted: Sat Aug 04, 2007 11:34 pm
by d-soldier
the only thing I can think of is if you have your shooting setup to repeat while the key is down (in which case it may continue to fire if you started on the ground and never let the key up while jumping), or if your first shot takes in the variable, and each additional shot is created from a timer while that key remains down (in which case only the first shot may have been scripted with that "if" statement???) maybe?