unreal.BTDecorator_TimeLimit

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

Bases: BTDecorator

Time Limit decorator node. A decorator node that bases its condition on whether a timer has exceeded a specified value. The timer is reset each time the node becomes relevant.

C++ Source:

  • Module: AIModule

  • File: BTDecorator_TimeLimit.h

Editor Properties: (see get_editor_property/set_editor_property)

  • flow_abort_mode (BTFlowAbortMode): [Read-Write] flow controller settings

  • inverse_condition (bool): [Read-Write] if set, condition check result will be inversed

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

  • time_limit (ValueOrBBKey_Float): [Read-Write] max allowed time for execution of underlying node