UGameplayAbility::CallActivateAbility

Executes PreActivate and ActivateAbility

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

void CallActivateAbility
(
    const FGameplayAbilitySpecHandle Handle,
    const FGameplayAbilityActorInfo * ActorInfo,
    const FGameplayAbilityActivationInfo ActivationInfo,
    FOnGameplayAbilityEnded::FDelegate * OnGameplayAbilityEndedDelegate,
    const FGameplayEventData * TriggerEventData
)

Remarks

Executes PreActivate and ActivateAbility