UGameplayAbility::K2_ShouldAbilityRespondToEvent

ShouldAbilityRespondToEvent

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintImplementableEvent, Category=Ability,
          DisplayName="ShouldAbilityRespondToEvent",
          Meta=(ScriptName="ShouldAbilityRespondToEvent"))
bool K2_ShouldAbilityRespondToEvent
(
    FGameplayAbilityActorInfo ActorInfo,
    FGameplayEventData Payload
) const

Remarks

ShouldAbilityRespondToEvent

Returns true if this ability can be activated right now. Has no side effects

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss