Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UAbilitySystemComponent
References
| Module | GameplayAbilities |
| 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
&40;
FGameplayAbilitySpecHandle AbilityToActivate,
FPredictionKey InPredictionKey,
UGameplayAbility &42;&42; OutInstancedAbility,
FOnGameplayAbilityEnded::FDelegate &42; OnGameplayAbilityEndedDelegate,
const FGameplayEventData &42; TriggerEventData
&41;
Remarks
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.