unreal.BTDecorator_IsAtLocation

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

Bases: BTDecorator_BlackboardBase

Is At Location decorator node. A decorator node that checks if AI controlled pawn is at given location.

C++ Source:

  • Module: AIModule

  • File: BTDecorator_IsAtLocation.h

Editor Properties: (see get_editor_property/set_editor_property)

  • acceptable_radius (float): [Read-Write] distance threshold to accept as being at location

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

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

  • geometric_distance_type (FAIDistanceType): [Read-Write]

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

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

  • parametrized_acceptable_radius (AIDataProviderFloatValue): [Read-Write]

  • path_finding_based_test (ValueOrBBKey_Bool): [Read-Write] If true the result will be consistent with tests done while following paths.

    Set to false to use geometric distance as configured with DistanceType

  • use_nav_agent_goal_location (ValueOrBBKey_Bool): [Read-Write] if moving to an actor and this actor is a nav agent, then we will move to their nav agent location