AbilityChange Trigger

atmuc

Member
Start an ability
While ability is running Stop and Start ability in the same frame.
AbilityChange Trigger will not work.

If you wait after stop and start ability AbilityChange Trigger will work.
 
That is correct - if the ability started and stopped in the same frame then there are no animation changes.
 
I changed my code to wait until the ability index changed.

public override bool CanStartAbility()
{
return base.CanStartAbility() && m_AnimatorMonitor.AbilityIndex != AbilityIndexParameter;
}
 
Top