Module |
|
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
(
const FGameplayTagContainer & AbilityTags,
UGameplayAbility * RequestingAbility,
bool bEnableBlockTags,
const FGameplayTagContainer & BlockTags,
bool bExecuteCancelTags,
const FGameplayTagContainer & CancelTags
)
Called from ability activation or native code, will apply the correct ability blocking tags and cancel existing abilities. Subclasses can override the behavior
Parameter |
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 |