I am currently using a blueprint for a character to do an attack on an enemy, but the damage/health change is being applied instantly when the action is called, and not when the attack connects with the enemy. Is there any way to attach an event to the animation itself to call for the damage update?
It does get a bit complicated for true accurate attacks, though, due to framerates and it typically being called on tick. What you can do while learning, though, is learn Animation notifies!
Read up on it here:
Then once you’re done with that, set up your notify on your attack animation, Save the animation (IMPORTANT STEP), then go to the event graph and use "AnimNotify_SwordHit"or whatever you named it! Use “TryGetOwner”, cast to your PlayerBP, and have an event there that will fire off your damaging code