Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UGameplayCueFunctionLibrary
Description
Invoke the added event for a gameplay cue on the target actor. This should be paired with a RemoveGameplayCueOnActor call.
- If the actor has an ability system, the event will fire on authority only and will be replicated.
- If the actor does not have an ability system, the event will only be fired locally.
| Name | AddGameplayCueOnActor |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayCueFunctionLibrary.h |
| Include Path | #include "GameplayCueFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayCueFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="GameplayCue", Meta=(GameplayTagFilter="GameplayCue"),
DisplayName="Add GameplayCue On Actor (Looping)")
static void AddGameplayCueOnActor
(
AActor * Target,
const FGameplayTag GameplayCueTag,
const FGameplayCueParameters & Parameters
)