Calling 'Hit' function from sword override animation

Hi everyone,

So in the melee attack, we call ‘Hit’ as an animation event to damage the enemy. I’ve added my own animation to the Sword Override Controller. How do we go about calling ‘Hit’ from this override controller animation, so we can continue to beat down the enemies?

In the video it doesn’t seem Rick adds this.

Cheers

I do remember we go over it somewhere in the course, but I can’t find the specific lecture.

At the end of this page in my Third Person → RPG course tutorial, I actually go through adding Animation events. Now for the tutorial, I use TryHit because that is a change specifically for this tutorial, and it’s dealing with Mixamo animations as well, but the Event section still stands. Where my tutorial says to add TryHit, use Hit instead (no parenthesis).

Privacy & Terms