Im using the pawn sensing component and I need to get the noise tag associated with the noise, I have the same actor doing different noises and I want the AI to react differently to them, I tried using the noise tag:
**// Make a noise for the other AI Controllers to hear
MakeNoise(selfPawn->maxVolume, selfPawn, selfPawn->GetActorLocation(), 0.0f, FName(“Alert”));
**
But I found no way of retrieving the tag from the OnHearNoise delegate, is there any way to access that?
Thank you
I have and I’m detecting the sounds, my delegate looks like this
void ACarnievilAIController::OnHearNoise(APawn *OtherActor, const FVector &Location, float Volume)