Ready-made StateTree tools for Unreal Engine 5
Plugin: StateTreeToolsGameplayAbilitySystem Category: Abilities
Sends a gameplay event to an actor’s Ability System Component using SendGameplayEventToActor. If the task is not configured to send on exit it completes immediately after sending on enter.
Bind this to the actor whose Ability System Component should receive the event.
The FGameplayTag that identifies the event.
The FGameplayEventData payload to send with the event. This includes source and target actors, event magnitude, and an optional target data handle.
By default the event is sent when the state is entered. You can also send it on exit, with separate toggles for which exit reasons trigger the send (Stopped, Succeeded, or Failed). See Enter / Exit Firing for a full explanation.
If the actor is invalid or has no Ability System Component the task will fail. You can control whether a failure causes the task to return Failed or Succeeded using the Error Means Failure option.