unreal.BTTask_RunDynamicStateTree

class unreal.BTTask_RunDynamicStateTree(outer: Object | None = None, name: Name | str = 'None')

Bases: BTTaskNode

RunDynamicStateTree task allows the execution of a state tree chosen at runtime. UBTTask_RunDynamicStateTree::SetDynamicStateTree can be used to set the node’s state tree.

C++ Source:

  • Plugin: GameplayStateTree

  • Module: GameplayStateTreeModule

  • File: BTTask_RunDynamicStateTree.h

Editor Properties: (see get_editor_property/set_editor_property)

  • ignore_restart_self (bool): [Read-Write] if set, task search will be discarded when this task is selected to execute but is already running

  • injection_tag (GameplayTag): [Read-Write] Gameplay tag that will identify this task for state tree injection

  • node_name (str): [Read-Write] node name