UGameplayAbility::ShouldAbilityRespondToEvent

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

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

virtual bool ShouldAbilityRespondToEvent
(
    const FGameplayAbilityActorInfo * ActorInfo,
    const FGameplayEventData * Payload
) const

Remarks

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