unreal.BTTask_FinishWithResult

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

Bases: BTTaskNode

Instantly finishes with given result

C++ Source:

  • Module: AIModule

  • File: BTTask_FinishWithResult.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

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

  • result (ValueOrBBKey_Enum): [Read-Write]