Code: Select all
bool Alert(actor alerted, actor target, actor alertsource=null, int flags=0);
Would be useful for stuff like this, or other interactions where only a single monster is being alerted to a specific thing (pickpocket, touch, very narrow line-of-sight check).
Flags might include:
- forcing an already alerted monster to switch targets
- don't play the alert sound
- allow an immediate attack(?)
- allow targeting of friendlies or same-team