UGameplayTask::GetAvatarActor

Proper way to get the avatar actor associated with the task owner (usually a pawn, tower, etc)

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayTasks

Header

/Engine/Source/Runtime/GameplayTasks/Classes/GameplayTask.h

Include

#include "GameplayTask.h"

Source

/Engine/Source/Runtime/GameplayTasks/Private/GameplayTask.cpp

Syntax

AActor * GetAvatarActor() const

Remarks

Proper way to get the avatar actor associated with the task owner (usually a pawn, tower, etc)