Show / Hide Table of Contents

Class BTTask_RunBehavior

RunBehavior task allows pushing subtrees on execution stack.

Inheritance
System.Object
UObject
BTNode
BTTaskNode
BTTask_RunBehavior
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_RunBehavior : BTTaskNode
Remarks

Subtree asset can't be changed in runtime!

This limitation is caused by support for subtree's root level decorators, which are injected into parent tree, and structure of running tree cannot be modified in runtime (see: BTNode: ExecutionIndex, MemoryOffset)

Use RunBehaviorDynamic task for subtrees that need to be changed in runtime.

Properties

| Improve this Doc View Source

BehaviorAsset

behavior to run

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

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static BTTask_RunBehavior DefaultObject { get; }
Property Value
Type Description
BTTask_RunBehavior
| 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 BTTask_RunBehavior New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
BTTask_RunBehavior

Operators

| Improve this Doc View Source

Implicit(IntPtr to BTTask_RunBehavior)

Convert from IntPtr to UObject

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