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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback