unreal.BTDecorator_Cooldown

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

Bases: BTDecorator

Cooldown decorator node. A decorator node that bases its condition on whether a cooldown timer has expired.

C++ Source:

  • Module: AIModule

  • File: BTDecorator_Cooldown.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • 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