Show / Hide Table of Contents

Class BTTask_BlueprintBase

Base class for blueprint based task nodes.

Inheritance
System.Object
UObject
BTNode
BTTaskNode
BTTask_BlueprintBase
Inherited Members
BTTaskNode.Services
BTTaskNode.bIgnoreRestartSelf
BTNode.TreeAsset
BTNode.ParentNode
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.AIModule
Assembly: UE4DotNet.dll
Syntax
public class BTTask_BlueprintBase : BTTaskNode
Remarks

Do NOT use it for creating native c++ classes!

When task receives Abort event, all latent actions associated this instance are being removed. This prevents from resuming activity started by Execute, but does not handle external events. Please use them safely (unregister at abort) and call IsTaskExecuting() when in doubt.

Properties

| Improve this Doc View Source

ActorOwner

Cached actor owner of BehaviorTreeComponent.

Declaration
public Actor ActorOwner { get; set; }
Property Value
Type Description
Actor
| Improve this Doc View Source

AIOwner

Cached AIController owner of BehaviorTreeComponent.

Declaration
public AIController AIOwner { get; set; }
Property Value
Type Description
AIController
| Improve this Doc View Source

bShowPropertyDetails

Declaration
public bool bShowPropertyDetails { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static BTTask_BlueprintBase DefaultObject { get; }
Property Value
Type Description
BTTask_BlueprintBase
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

FinishAbort()

aborts task execution

Declaration
public void FinishAbort()
| Improve this Doc View Source

FinishExecute(Boolean)

finishes task execution with Success or Fail result

Declaration
public void FinishExecute(bool bSuccess)
Parameters
Type Name Description
System.Boolean bSuccess
| Improve this Doc View Source

IsTaskAborting()

check if task is currently being aborted

Declaration
public bool IsTaskAborting()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsTaskExecuting()

check if task is currently being executed

Declaration
public bool IsTaskExecuting()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static BTTask_BlueprintBase New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
BTTask_BlueprintBase
| Improve this Doc View Source

SetFinishOnMessage(Name)

task execution will be finished (with result 'Success') after receiving specified message

Declaration
public void SetFinishOnMessage(Name MessageName)
Parameters
Type Name Description
Name MessageName
| Improve this Doc View Source

SetFinishOnMessageWithId(Name, Int32)

task execution will be finished (with result 'Success') after receiving specified message with indicated ID

Declaration
public void SetFinishOnMessageWithId(Name MessageName, int RequestID)
Parameters
Type Name Description
Name MessageName
System.Int32 RequestID

Events

| Improve this Doc View Source

ReceiveAbort

if blueprint graph contains this event, task will stay active until FinishAbort is called @

Declaration
public event BTTask_BlueprintBase.ReceiveAbort_delegate ReceiveAbort
Event Type
Type Description
BTTask_BlueprintBase.ReceiveAbort_delegate
Remarks

Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise

| Improve this Doc View Source

ReceiveAbortAI

Alternative AI version of ReceiveAbort @

Declaration
public event BTTask_BlueprintBase.ReceiveAbortAI_delegate ReceiveAbortAI
Event Type
Type Description
BTTask_BlueprintBase.ReceiveAbortAI_delegate
Remarks

see ReceiveAbort for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise

| Improve this Doc View Source

ReceiveExecute

entry point, task will stay active until FinishExecute is called.

Declaration
public event BTTask_BlueprintBase.ReceiveExecute_delegate ReceiveExecute
Event Type
Type Description
BTTask_BlueprintBase.ReceiveExecute_delegate
Remarks

@Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise

| Improve this Doc View Source

ReceiveExecuteAI

Alternative AI version of ReceiveExecute @

Declaration
public event BTTask_BlueprintBase.ReceiveExecuteAI_delegate ReceiveExecuteAI
Event Type
Type Description
BTTask_BlueprintBase.ReceiveExecuteAI_delegate
Remarks

see ReceiveExecute for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise

| Improve this Doc View Source

ReceiveTick

tick function @

Declaration
public event BTTask_BlueprintBase.ReceiveTick_delegate ReceiveTick
Event Type
Type Description
BTTask_BlueprintBase.ReceiveTick_delegate
Remarks

Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise

| Improve this Doc View Source

ReceiveTickAI

Alternative AI version of tick function.

Declaration
public event BTTask_BlueprintBase.ReceiveTickAI_delegate ReceiveTickAI
Event Type
Type Description
BTTask_BlueprintBase.ReceiveTickAI_delegate
Remarks

@see ReceiveTick for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise

Operators

| Improve this Doc View Source

Implicit(IntPtr to BTTask_BlueprintBase)

Convert from IntPtr to UObject

Declaration
public static implicit operator BTTask_BlueprintBase(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
BTTask_BlueprintBase
  • Improve this Doc
  • View Source
Back to top Generated by DocFX