I didn't want to make 3 different topics for each question so I hope it's OK to bundle them into one like this 乁(ツ)ㄏ
Question 1: I'd like to make a melee weapon with multiple "swing" animations that work like a combo, since having just one hit/swing animation is a bit boring. For example, having three animations (clicking attack button in 3 rapid-succession clicks): swing left, swing right, swing up, then back to the root stance of holding the weapon or continuing with the combo starting at swing left until you stop attacking. If you click once, it will play swing left but then go back to the root stance. If you click twice, it will play swing left and swing right then go back to the root stance. Each click will result in an attack/hit. I'm sure this can be done but I don't know how I would go about this.
Question 2: This is a much simpler task (pretty sure), I just don't know the code for it. Essentially, I'd like to make a timer for a light. Example: Player clicks left-click, light comes on and/or model changes and a timer starts for say 1 minute, after timer expires the light goes off and the model back to the "off" state and not be able to turn back on (they'd have to pick up another item). P.S. I'd also like the timer to carry over if the player switches weapons/closes the inventory, and for the light to stay on when they go back but if the timer expires and they go back, the light should be off; however I don't know if this is possible, worth a shot.
Question 3: I'm also sure this is a relatively simple one but, alas, I know not of how to do. I am wondering how to play random animations and/or sounds, when the player clicks left-click. Or, for example, if a projectile hits the ground, how would I play a random sound from one of the 4 that I have loaded?
Any and all help is much appreciated. I might be able to figure this out (after a long time) with the help of bldocs or whatever but it's not working at all for me.