Dialogue system

So i want to create a dialogue system for my NPC’s the player doesnt need to be able to talk to them I just want it so that when the NPC’s are searching for the player it plays dialogue and when they are chasing the player it also platy different dialogue, the NPC’s are set up with a parent BP that controls the AI so each NPC needs to have different dialogue.