Hello,
I'm so close. I'M SO CLOSE to perfecting the attack combos so I can actually move on to make the actual game.
So the problem is the State system keeps getting stuck.
The general idea I have in mind is:
Use 1st State (Attack) -> Use Complete -> 0.25 combo window -> Use Next State (Attack) -> Use Complete -> Miss 0.25 combo window -> Reset to State 2
Ok. So I have events in the animator for both onUse and onUseComplete, a 0.25 reset delay, and a brand new animator. I'm also locking the locomotion in the state system via the States, but I don't think that is related to the new animator.
If I attack PERFECTLY (landing my attacks within the 0.25 combo window AFTER the onUse and before the UseComplete), it works fine. The problem is if I spam the attack button, or miss the window, or just randomly sometimes it seems like its getting stuck. The IndexStateItemChange trigger doesn't activate and I am stuck in Use (active) forever because the animation never fires.
You can see the screenshots for my settings.
I'm not even going to try and deal with the reset state thing. I figure that's via expanding on the AnimatorAudioState or adding a new AnimationEvent.
Some considerations:
1) Is the Reset Delay in the state system starting when you hit the Use Input button or when the AnimationEvent fires for OnIemUse?
2) It doesn't seem to matter if I have WaitForCompletionEvent on or off. The animators have these events, but the Use(ability) sticks without the trigger fire regardless.
Thanks for your continued support.
I'm so close. I'M SO CLOSE to perfecting the attack combos so I can actually move on to make the actual game.
So the problem is the State system keeps getting stuck.
The general idea I have in mind is:
Use 1st State (Attack) -> Use Complete -> 0.25 combo window -> Use Next State (Attack) -> Use Complete -> Miss 0.25 combo window -> Reset to State 2
Ok. So I have events in the animator for both onUse and onUseComplete, a 0.25 reset delay, and a brand new animator. I'm also locking the locomotion in the state system via the States, but I don't think that is related to the new animator.
If I attack PERFECTLY (landing my attacks within the 0.25 combo window AFTER the onUse and before the UseComplete), it works fine. The problem is if I spam the attack button, or miss the window, or just randomly sometimes it seems like its getting stuck. The IndexStateItemChange trigger doesn't activate and I am stuck in Use (active) forever because the animation never fires.
You can see the screenshots for my settings.
I'm not even going to try and deal with the reset state thing. I figure that's via expanding on the AnimatorAudioState or adding a new AnimationEvent.
Some considerations:
1) Is the Reset Delay in the state system starting when you hit the Use Input button or when the AnimationEvent fires for OnIemUse?
2) It doesn't seem to matter if I have WaitForCompletionEvent on or off. The animators have these events, but the Use(ability) sticks without the trigger fire regardless.
Thanks for your continued support.