by Bannock » Sun Dec 02, 2007 3:31 am
I apolagize for continuing a thread that has served it's purpose, but I felt it would be appropriate to place this question here, rather than start a new topic.
Based off of the first bit of script given in this thread, not the modified one, I made my own version of this and got it working. However, what I'd like to know, is an easy method of of preventing the player from hitting the attack key multiple times in a row.
The attack animation has Repeat disabled so you can't hold the attack button down, but you can still hit it again while it's in the middle of the attacking animation, which if nothing else, can allow a sort of rapid fire attack.
I can only guess that it would involve timers, but I don't have much experiance (see: none) with that sort of thing.