PDA

View Full Version : Holding Down the Mouse - Keep doing the Event



Insane Knux
July 22nd, 2005, 10:14 PM
I'm making a birds eye view game, with shooting.
I'm wondering how would it keep shooting when the Left Mouse Button is held down?
If needed, the bullet's instance is shot

smack_boom
July 22nd, 2005, 10:18 PM
Did you try onClipEvent(mouseDown){ then have your shooting codes inside that. Or do you need help with the actual shooting?

Insane Knux
July 22nd, 2005, 10:42 PM
Yeah, I got the mouse down thing working, but it won't keep shooting.

smack_boom
July 22nd, 2005, 10:51 PM
I'd have to see your shooting script to see what you've done :)

TheCanadian
July 22nd, 2005, 11:48 PM
There is already a thread about this (http://www.kirupa.com/forum/showthread.php?t=185425). Its near the bottom.

Insane Knux
July 23rd, 2005, 12:38 AM
Oh... Sorry :(
And thanks, lol :)

TheCanadian
July 23rd, 2005, 01:33 AM
Don't be sorry, I just hope it helped.