How to trigger AI attack on player

Hi I wanted to ask this, I wont to make a trigger attack on a player. Example if a player brakes a window AI’s will come and attack the player and the only way to make them stop is if the player is dead, basically a police system thats what im trying to make . I know how to make AI attack player period. Its just I wont the AI to attack when player breaks windows the window is the trigger thanks.