G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UBTTask_RunBehaviorDynamic Class Reference

RunBehaviorDynamic task allows pushing subtrees on execution stack. Subtree asset can be assigned at runtime with SetDynamicSubtree function of BehaviorTreeComponent. More...

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UBTTaskNode
static UClass StaticClass ()
Static Public Member Functions inherited from UBTNode
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

Node
UBehaviorTree DefaultBehaviorAsset
 default behavior to run
FGameplayTag InjectionTag
 Gameplay tag that will identify this task for subtree injection.
Public Attributes inherited from UBTNode
FString NodeName
 node name
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Additional Inherited Members

Public Member Functions inherited from UBTTaskNode
void SetbIgnoreRestartSelf (bool Value)
 if set, task search will be discarded when this task is selected to execute but is already running
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Detailed Description

RunBehaviorDynamic task allows pushing subtrees on execution stack. Subtree asset can be assigned at runtime with SetDynamicSubtree function of BehaviorTreeComponent.

Does NOT support subtree's root level decorators!

Member Function Documentation

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ DefaultBehaviorAsset

UBehaviorTree DefaultBehaviorAsset

default behavior to run

◆ InjectionTag

FGameplayTag InjectionTag

Gameplay tag that will identify this task for subtree injection.