Hello guys!
So, I've built a battle system where the enemy sprite changes to different images during its attacks, showing various poses while casting its attack. Each attack can be countered with different skills, auto attacks, or defense. Everything works smoothly but, I'd like to add one more thing. A timer, so the player have to choose skill to counter the enemy's attack in a limited time.
I attached two images to show how I tried, but unfortunately, it doesn't work like this because the "moment" is detected as autorun by the game and doesn't allow anything until the time runs out. Does anyone have any ideas on how I could achieve this?
it doesnt really matter if the timer shown or not so if you have solution by variables then that would good too
Thanks for the responses!
So, I've built a battle system where the enemy sprite changes to different images during its attacks, showing various poses while casting its attack. Each attack can be countered with different skills, auto attacks, or defense. Everything works smoothly but, I'd like to add one more thing. A timer, so the player have to choose skill to counter the enemy's attack in a limited time.
I attached two images to show how I tried, but unfortunately, it doesn't work like this because the "moment" is detected as autorun by the game and doesn't allow anything until the time runs out. Does anyone have any ideas on how I could achieve this?
it doesnt really matter if the timer shown or not so if you have solution by variables then that would good too
Thanks for the responses!