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 |
bool InternalTryActivateAbility
(
FGameplayAbilitySpecHandle AbilityToActivate,
FPredictionKey InPredictionKey,
UGameplayAbility ** OutInstancedAbility,
FOnGameplayAbilityEnded::FDelegate * OnGameplayAbilityEndedDelegate,
const FGameplayEventData * TriggerEventData
)
Attempts to activate the given ability, will only work if called from the correct client/server context
Attempts to activate the ability. -This function calls CanActivateAbility -This function handles instancing -This function handles networking and prediction -If all goes well, CallActivateAbility is called next.