Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UAbilitySystemComponent
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h |
| Include | #include "AbilitySystemComponent.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent_Abilities.cpp |
virtual void ApplyAbilityBlockAndCancelTags
&40;
const FGameplayTagContainer & AbilityTags,
UGameplayAbility &42; RequestingAbility,
bool bEnableBlockTags,
const FGameplayTagContainer & BlockTags,
bool bExecuteCancelTags,
const FGameplayTagContainer & CancelTags
&41;
Remarks
Called from ability activation or native code, will apply the correct ability blocking tags and cancel existing abilities. Subclasses can override the behavior
Parameters
| Name | Description |
|---|---|
| AbilityTags | The tags of the ability that has block and cancel flags |
| RequestingAbility | The gameplay ability requesting the change, can be NULL for native events |
| bEnableBlockTags | If true will enable the block tags, if false will disable the block tags |
| BlockTags | What tags to block |
| bExecuteCancelTags | If true will cancel abilities matching tags |
| CancelTags | what tags to cancel |