unreal.BTDecorator_KeepInCone

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

Bases: BTDecorator

Keep In Cone decorator node. A decorator node that bases its condition on whether the observed position is still inside a cone. The cone’s direction is calculated when the node first becomes relevant.

C++ Source:

  • Module: AIModule

  • File: BTDecorator_KeepInCone.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • cone_origin (BlackboardKeySelector): [Read-Write] blackboard key selector

  • 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

  • observed (BlackboardKeySelector): [Read-Write] blackboard key selector