PDA

View Full Version : game action scripting help!!!!



steroids
January 28th, 2003, 12:40 AM
I am making a first persion shooter, and my question is this. How can I make it so that I hold down the mouse and it will continusly fire untill you reload or let go. Right now the way i have it is you must click the mouse for every shot, which is good for hand guns and stuff like that, but i wanna make a automatic gun. Thats why iam trying to figure out a way that you can hold the mouse down.

Thx for any information you can give.(iam using flash 5)

upuaut
January 28th, 2003, 01:58 AM
What method do you use to produce a projectile currently as a one shot?

steroids
January 28th, 2003, 03:49 AM
heres a link for the file that contains all the action scripting, it should explance any questions you have.


www.uachq.cjb.net

__FLATLINE__
January 29th, 2003, 09:11 AM
The current projectile method is that the gun shoots on(press) and the monsters have hidden buttons on them so when you press on them they will play a "hit" animation where they substract health, check conditions etc.

I would like to know how to make a rapid fire as well.