Show / Hide Table of Contents

Class BTTaskNode

Task are leaf nodes of behavior tree, which perform actual actions Because some of them can be instanced for specific AI, following virtual functions are not marked as const:

  • ExecuteTask
  • AbortTask
  • TickTask
  • OnMessage If your node is not being instanced (default behavior), DO NOT change any properties of object within those functions! Template nodes are shared across all behavior tree components using the same tree asset and must store
Inheritance
System.Object
UObject
BTNode
BTTaskNode
BTTask_BlackboardBase
BTTask_BlueprintBase
BTTask_FinishWithResult
BTTask_GameplayTaskBase
BTTask_MakeNoise
BTTask_PawnActionBase
BTTask_PlayAnimation
BTTask_PlaySound
BTTask_RunBehavior
BTTask_RunBehaviorDynamic
BTTask_SetTagCooldown
BTTask_Wait
Inherited Members
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 BTTaskNode : BTNode
Remarks

their runtime properties in provided NodeMemory block (allocation size determined by GetInstanceMemorySize() )

Properties

| Improve this Doc View Source

bIgnoreRestartSelf

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

DefaultObject

Get UE4 Default Object for this Class

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

Services

service nodes

Declaration
public ObjectArrayField<BTService> Services { get; }
Property Value
Type Description
ObjectArrayField<BTService>
| 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

New(UObject, Name)

Spawn an object of this class

Declaration
public static BTTaskNode New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
BTTaskNode

Operators

| Improve this Doc View Source

Implicit(IntPtr to BTTaskNode)

Convert from IntPtr to UObject

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