UAISense_Damage::ReportDamageEvent

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

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Perception/AISense_Damage.h

Include

#include "Perception/AISense_Damage.h"

Source

/Engine/Source/Runtime/AIModule/Private/Perception/AISense_Damage.cpp

Syntax

static void ReportDamageEvent
(
    UObject * WorldContextObject,
    AActor * DamagedActor,
    AActor * Instigator,
    float DamageAmount,
    FVector EventLocation,
    FVector HitLocation
)

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss