we added EVENT_NPC_SLAY a while back for when an NPC kills another NPC, so that would prolly cut it.
as im looking at EVENT_ATTACK, the code is only doing it when the NPC is attacked, as you stated. Im almost wondering if that functionality mihgt be useful to somebody sometime... so im thinking about adding an EVENT_COMBAT which would trigger when an NPC starts "combat" mode, which would be defined as somebody attacking the NPC, or being attacked by the NPC in any manner, or the NPC having somebody on their hate list (in case they are running away or something), and would wear off like 12 seconds after neither of those actions were true... what do you think? |
Quote:
Quote:
Also, while working on big events I noticed I couldn't get the mob to make a zone wide "ooc" or emote. example; Code:
# Raid event for #Garudon (109107) |
Quote:
|
More than one way to skin a cat...
Sooo... anyways, heres' what I have come to realize about the Perl quests;
They are all PC, NPC inclined - anotherwords, you are doing interaction as a PC to an NPC or vice-versa, all will work fine. but if you want NPC's to inter-act with each other, then the "little problems" start. Some of the stuff does not work as intended; for example "sub EVENT_NPC_SLAY" does not work as I thought it would(at least for me). I've been reading fathernitwit's WIKI on this (yess, I found it!) I think a working command for npc to npc inter-action (maybe with some options) is needed, as even little things like guards killing noobie mobs and saying text, help the EqEmu to look more "EQ-live like" . But, if not, I finally landed a solution; Code:
#npc - Orc Death Code:
#npc - Gfaydark Guard Protectors I'll have them all made up in a day or two. $mobid would have been better, but for some reason, it would return a strange three digit number, that would not relate to the attacker-guard. $name returns the spawn2 npc name, and I can get some relationship to the guard there. The only problem I have with these scripts is, the text comes out in this order; Quote:
Quote:
|
Thank You fathernitwit !!!
Snip from the latest binary release;
Quote:
|
All times are GMT -4. The time now is 07:08 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.