Somewhat back on topic...with more questions.
Where would I put an EVENT_SLAY sub to intercept the event globally?
Doesn't appear work in global_player.pl in the templates folder, and that's the only global_player.pl I found and it's the one being used because I can change the mysterious voice text and it changes globally.
I found a default.pl file in the plugins folder with an EVENT_SLAY sub in it and thought I'd hit pay dirt, but putting a quest::say in that sub didn't result in the text being said when I die.
The only way I've got anything to work so far is to put the EVENT_SLAY in the .pl for a speciflc NPC and let that NPC kill me.
What am I missing? OR is this even possible without changing the code.
I realize EVENT_SLAY only applies to kills by NPCs and not the other ways players can die but that's actually okay.
Dhry
|