I need to report damage, but i cant find any function like this
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);
Also make sure to include AIModule in your build file
1 Like
thanks a lot