UBTTask_StopGameplayBehavior

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

GameplayBehaviorsModule

Header

/Engine/Plugins/Experimental/GameplayBehaviors/Source/GameplayBehaviorsModule/Public/AI/BTTask_StopGameplayBehavior.h

Include

#include "AI/BTTask_StopGameplayBehavior.h"

Syntax

UCLASS()
class UBTTask_StopGameplayBehavior : public UBTTaskNode

Variables

Name Description

Protected variable UProperty Category, EditAnywhere

TSubclassOf< UG...

 

BehaviorToStop

If None (the default) will stop any and all gameplay behaviors instigated by the agent

Constructors

Name Description

Public function

UBTTask_StopGameplayBehavior

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UBTTaskNode

Name Description

Public function Virtual

EBTNodeResul...

 

ExecuteTask

(
    UBehaviorTreeComponent& OwnerComp,
    uint8* NodeMemory
)

Starts this task, should return Succeeded, Failed or InProgress (use FinishLatentTask() when returning InProgress) this function should be considered as const (don't modify state of object) if node is not instanced!

Overridden from UBTNode

Name Description

Public function Virtual Const

uint16

 

GetInstanceMemorySize()

Size of instance memory

Public function Virtual Const

FString

 

GetStaticDescription()