Closed plexsoup closed 1 year ago
NPCs on patrol routes won't notice the gunplay near them.
We either need to make them hear the gunshots and become alert, or change the gunshot noise to a silenced gun "thwip thwip" instead of "bang! bang!"
NPCs can hear nearby gunshots now.
Player signals city_map that there's a loud noise. City_map spawns a noise Area2D. Area2D gets signals for NPC bodies entering. Then NPC spawns alert notice above their head.
NPCs on patrol routes won't notice the gunplay near them.
We either need to make them hear the gunshots and become alert, or change the gunshot noise to a silenced gun "thwip thwip" instead of "bang! bang!"