Check if a certain ability is active....

Ando5000

Member
Looking for a clean way to check what ability is currently active?

GetAbility seems to ask me for a type. Generally speaking I just want to get the current Active Ability anytime its played. If the player is actively running or jumping or crouching ect.

This leads me to a check whether Ability A is active before Ability B can be used.

Thanks
 
Whilst in play mode, you can inspect the UltimateCharacterLocomotion component and view the Abilities list to see which is currently active: the currently active ability will be appended with "(Active)".

There is also the "OnCharacterAbilityActive" event, which gets sent whenever an ability starts or stops. This is described under the "Events" section on this page: https://opsive.com/support/documentation/ultimate-character-controller/character/abilities/
 
Top