Is there a C++ equivalent to a report damage event?

I need to report damage, but i cant find any function like this
Снимок экрана 2024-06-10 152700

it’s inside of AISense_Damage.h the function ReportDamageEvent

// EventLocation will be reported as Instigator's location at the moment of event happening
UFUNCTION(BlueprintCallable, Category = "AI|Perception", meta = (WorldContext="WorldContextObject", AdvancedDisplay="HitLocation"))
static AIMODULE_API void ReportDamageEvent(UObject* WorldContextObject, AActor* DamagedActor, AActor* Instigator, float DamageAmount, FVector EventLocation, FVector HitLocation, FName Tag = NAME_None);

ai_sense

Also make sure to include AIModule in your build file

1 Like

thanks a lot