UGameplayAbility::GetGameplayTaskAvatar

Get "body" of task's owner / default, having location in world (e.g. Owner = AIController, Avatar = Pawn)

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IGameplayTaskOwnerInterface::GetGameplayTaskAvatar()

UGameplayAbility::GetGameplayTaskAvatar()

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

virtual AActor * GetGameplayTaskAvatar
(
    const UGameplayTask * Task
) const

Remarks

Get "body" of task's owner / default, having location in world (e.g. Owner = AIController, Avatar = Pawn)