Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by Jeebus__Price

I am making a combo system for my fighting game. I have it figured out on my main character and it works well, but I am having an issue with animating the enemy getting hit. I have created different hit animations and used variables to tell the enemy which animation to play.

The problem is, the enemy is still playing the first hit animation in the combo when the second hit animation starts up, resulting in a blend between the 2 animations. Is there any way to cancel the first animation when the second attack in the chain hits?

I have read that I should set the playhead position to 1 when the second attack lands, but that seems to just make its value 0 or 1 (depending on if the signal is powered on or off) and doesn't let the animation play normally.

Thanks!

Oh dear! Your browser is either unsupported or there has been a problem loading the page.