unreal.BTTask_Wait

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

Bases: BTTaskNode

Wait task node. Wait for the specified time when executed.

C++ Source:

  • Module: AIModule

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

  • random_deviation (ValueOrBBKey_Float): [Read-Write] allows adding random time to wait time

  • wait_time (ValueOrBBKey_Float): [Read-Write] wait time in seconds