Hello All,
I have an animation that I want to repeat 5 times when a key is pressed.
I have the animation set to Loop: No, Repeat Count: 5.
I also do not want the player to be able to move while this animation is playing (not the issue).
The player movement events/actions are in a group. The key for activating the animation is question is not.
I deactivate the player movement group when the key is pressed, play the animation from begining, and activate the group when it completes.
This works great. No issues. Until I press the animation key again. The animation only plays one time before it stops.
My question is, why is it not taking the repeat count value into account when it is activated the second time? Is there something that needs to be reset?
capx file link below.
Link To File
Thanks.