# Game action scripting help!

**URL:** <https://forum.kirupa.com/t/game-action-scripting-help/12196>\
**Category:** Uncategorized\
**Created:** [January 28, 2003, 5:40am UTC](https://forum.kirupa.com/t/game-action-scripting-help/12196 "2003-01-28T05:40:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steroids](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@steroids](https://forum.kirupa.com/u/steroids)\
**Post date:** [January 28, 2003, 5:40am UTC](https://forum.kirupa.com/t/game-action-scripting-help/12196/1 "2003-01-28T05:40:04Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 28, 2003, 6:58am UTC](https://forum.kirupa.com/t/game-action-scripting-help/12196/2 "2003-01-28T06:58:23Z")

</div>

What method do you use to produce a projectile currently as a one shot?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 28, 2003, 8:49am UTC](https://forum.kirupa.com/t/game-action-scripting-help/12196/3 "2003-01-28T08:49:17Z")

</div>

heres a link for the file that contains all the action scripting, it should explance any questions you have.

[www.uachq.cjb.net](http://www.uachq.cjb.net)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 29, 2003, 2:11pm UTC](https://forum.kirupa.com/t/game-action-scripting-help/12196/4 "2003-01-29T14:11:42Z")

</div>

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.
