class unreal.AISense_Damage(outer=None, name='None')?

Bases: unreal.AISense

AISense Damage

C++ Source:

  • Module: AIModule
  • File: AISense_Damage.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.
  • default_expiration_age (float): [Read-Only] age past which stimulus of this sense are “forgotten”. (DEPRECATED: This property will be removed in future versions. Use AISenseConfig::MaxAge instead.)
  • notify_type (AISenseNotifyType): [Read-Write] Notify Type
  • 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
classmethod report_damage_event(world_context_object, damaged_actor, instigator, damage_amount, event_location, hit_location) → None?

EventLocation will be reported as Instigator’s location at the moment of event happening