How do i create a rapid fire effect when i press the left mouse button until i release the mouse button without having loop until its done the animation a set # of times?
Pretty much the same thing as here, but with the mouse button instead of a key.
Well thats what i did but once i let go of the mouse it stops mid way through the animation and the gun starts drifting forward if i do that multiple times.
I think it's good that you're making an FPS, because it, more than anything else (well, that's debatable), gives you an understanding of practically everything in Alice.
Anyway, to do what you're doing, I'm once again going to need an attachment, so I can more directly show you.
In my FPS as well, I have to do the same thing. Basically, what you want is the gun/person to reset their point of view in the end portion, and even in the end of the firing method (this also helps if you want to experiment around with varying amounts of recoil without having to re-plug EVERYTHING in).
Basically, upload the world and I'll see what I can do.
Last edited by debussybunny563; 12-21-2012 at 12:00 AM.
|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|
I have been dead for quite some time now; not much hope for resurrection.
OK this is what i started but i haven't done much. I'm trying to get the player's view to work good before i start getting really into it.
When i would hold the fire button and let go before the animation play's 50 times (just what i had it set for) it would ether stop mid way and drift off if i did it multiple times or crash the simulation. Solider 2.a2w
...Have you tried the "While key is pressed" event? If not, make a new event (When key is typed (or the mouse, whichever)). Then, right-click > change to > While key/mouse is pressed