Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UAbilitySystemComponent
Description
(Un-)Inhibit an Active Gameplay Effect so it may be disabled (and perform some disabling actions, such as removing tags). An inhibited Active Gameplay Effect will lay dormant for re-enabling on some condition (usually tags). When it's uninhibited, it will reapply some of its functionality. NOTE: The passed-in ActiveGEHandle is no longer valid. Use the returned FActiveGameplayEffectHandle to determine if the Active GE Handle is still active.
| Name | SetActiveGameplayEffectInhibit |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h |
| Include Path | #include "AbilitySystemComponent.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent.cpp |
virtual FActiveGameplayEffectHandle SetActiveGameplayEffectInhibit
(
FActiveGameplayEffectHandle && ActiveGEHandle,
bool bInhibit,
bool bInvokeGameplayCueEvents
)