atmuc Member Mar 11, 2023 #1 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.
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.
Justin Administrator Staff member Mar 13, 2023 #2 That is correct - if the ability started and stopped in the same frame then there are no animation changes.
That is correct - if the ability started and stopped in the same frame then there are no animation changes.
atmuc Member Mar 13, 2023 #3 I changed my code to wait until the ability index changed. public override bool CanStartAbility() { return base.CanStartAbility() && m_AnimatorMonitor.AbilityIndex != AbilityIndexParameter; }
I changed my code to wait until the ability index changed. public override bool CanStartAbility() { return base.CanStartAbility() && m_AnimatorMonitor.AbilityIndex != AbilityIndexParameter; }