UAITask

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Tasks/AITask.h

Include

#include "Tasks/AITask.h"

Syntax

class UAITask : public UGameplayTask

Variables

Name Description

Protected variable

AAIController &...

 

OwnerController

Constructors

Name Description

Public function

UAITask

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

AAIControlle...

 

GetAIController()

Public function Static

AAIControlle...

 

GetAIControllerForActor

(
    AActor* Actor
)

Public function

void

 

InitAITask

(
    AAIController& AIOwner,
    IGameplayTaskOwnerInterface& InTas...
)

Public function

void

 

InitAITask

(
    AAIController& AIOwner,
    IGameplayTaskOwnerInterface& InTas...,
    uint8 InPriority
)

Public function Static

T *

 

NewAITask

(
    AAIController& AIOwner,
    FName InstanceName
)

Public function Static

T *

 

NewAITask

(
    AAIController& AIOwner,
    IGameplayTaskOwnerInterface& InTas...,
    FName InstanceName
)

Public function Static

T *

 

NewAITask

(
    AAIController& AIOwner,
    EAITaskPriority InPriority,
    FName InstanceName
)

Public function Static

T *

 

NewAITask

(
    AAIController& AIOwner,
    IGameplayTaskOwnerInterface& InTas...,
    EAITaskPriority InPriority,
    FName InstanceName
)

Public function

void

 

RequestAILogicLocking()

Effectively adds UAIResource_Logic to the set of Claimed resources

Overridden from UGameplayTask

Name Description

Protected function Virtual

void

 

Activate()

Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss