unreal.AISense

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

Bases: Object

C++ Source:

  • Module: AIModule

  • File: AISense.h

Editor Properties: (see get_editor_property/set_editor_property)

  • auto_register_all_pawns_as_sources (bool): [Read-Write] If true all newly spawned pawns will get auto registered as source for this sense.

  • notify_type (AISenseNotifyType): [Read-Write]

  • wants_new_pawn_notification (bool): [Read-Write] whether this sense is interested in getting notified about new Pawns being spawned

    this can be used for example for automated sense sources registration

property auto_register_all_pawns_as_sources: bool

[Read-Only] If true all newly spawned pawns will get auto registered as source for this sense.

Type:

(bool)

property notify_type: AISenseNotifyType

[Read-Only]

Type:

(AISenseNotifyType)

property wants_new_pawn_notification: bool

[Read-Only] whether this sense is interested in getting notified about new Pawns being spawned this can be used for example for automated sense sources registration

Type:

(bool)