Hi Guys I'm back and I'm having a new problem.
In my game to do a basic attack you need to press the control 'Action' which uses the 'Enter' key. In a lot of games of action games, I noticed that pressing the same button can play other animations. For example:
Player 1 presses enter and Animation 1 is carried out in game. The second this animation ends a timer is executed to check whether the player has pressed the key again. If he did, the game will play Animation 2. If Player 1 did NOT press the enter key within the time frame and pressed it after the timer, the game play Animation 1 again and the loop is repeated.
This is often used in action games or Star Wars games(Which is what my game is all about).
How can this be achieved? Someone please help me as I can't believe I'm having trouble just doing basic attack moves
If you can help please post the solution on this thread, upload or link an example. DO NOT REUPLOAD THE .CAP WITH YOUR VERSION as I want to try my best to learn it myself.
Note: The events can be found in the 'Lightsaber' event sheet and the Animation 2 is the Lightsaber2 animation.
Thanks a lot for your time.
EDIT: Problem solved, read reply 4 for solution.