unreal.BTDecorator_Loop¶
- class unreal.BTDecorator_Loop(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BTDecoratorLoop decorator node. A decorator node that bases its condition on whether its loop counter has been exceeded.
C++ Source:
Module: AIModule
File: BTDecorator_Loop.h
Editor Properties: (see get_editor_property/set_editor_property)
flow_abort_mode(BTFlowAbortMode): [Read-Write] flow controller settingsinfinite_loop(bool): [Read-Write] infinite loopinfinite_loop_timeout_time(ValueOrBBKey_Float): [Read-Write] timeout (when looping infinitely, when we finish a loop we will check whether we have spent this time looping, if we have we will stop looping). A negative value means loop forever.inverse_condition(bool): [Read-Write] if set, condition check result will be inversednode_name(str): [Read-Write] node namenum_loops(ValueOrBBKey_Int32): [Read-Write] number of executions