You can do messages for NPC deaths via scripting with the TRIGGER_DEATH command. It'd be a bit tedious to set up a script for every single NPC type though.
From looking at spawn logs, I think the messages that appear at certain points are actually NPCs. Maybe they use a special "trigger" race value and when you get near them, the text (which is the NPC's name) is displayed?
|