|
-
need help with a shooting
i have my crosshair and my bullets working with this script
var counter:Number = 0;
var timer:Number = 0;
onMouseDown = function () {
timer++;
if (timer == 1) {
counter++;
_root.attachMovie("bullethole","bullethole"+counte r,_root.getNextHighestDepth());
eval("bullethole"+counter)._y = _ymouse;
eval("bullethole"+counter)._x = _xmouse;
timer = 0;
}
};
the code works fine but now i was wondering how do i get it to change from bullethole to shotgunhole
eg i have a image of a handgun and shotgun you click the handgund you get to shoot it now click the shotgun and the bullets will shange when you click to shotgun holes and same for other weapons
also how do i get it to rapid fire from holding mouse
The one that smiles when things go wrong, Has thought of someone to blame it on 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|