This is to provide improved noise mechanics, since a monster could react to a sound, but not immediately know where the culprit is.
Additionally, another flag to "center" the noise on the emitter's position. (Thanks to Enjay for the idea.)
While thinking about it: Another useful flag would be to force AMBUSH-flagged monsters to give chase immediately. I can post a separate suggestion for that if need be. Either way, the function gets a flags field where more behaviors can be added later.
Which brings it up to:
- AMF_CenterCaller: Noise origin and distance check is relative to the emitter.
- AMF_TargetCaller: The emitter is the target of alerted monsters.
- AMF_CheckSight: Only alert monsters with a possible line-of-sight to the target (or emitter, if that flag is also given).
- AMF_AmbushAlerts: Force AMBUSH monsters to respond immediately.
- AMF_AmbushIgnores: AMBUSH monsters will ignore the alert entirely. Obviously, the above makes this useless.

