Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2006, 08:41 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default EVENT_COMBAT Glitch?

FatherNitwit: added EVENT_COMBAT triggered when an NPC engages any form of
FatherNitwit: combat and when combat is over. $combat_state signals which.

Here's a simple pl I plan for the guards;
Code:
#npc - Gfaydark Guard Protectors
#zone - Gfaydark

sub EVENT_COMBAT {
   quest::say("For the defense of Kelethin!!");
   quest::say("For the protection of all Fier'Dal, there shall be no mercy for your kind.");
  }
This works fine but, I noticed, when the aggro wears off, the NPC repeats the text again; Anotherwords, he sees the mob, chants his text, kills the mob - then a few seconds later he settles down, re-chants the text , and walks back to where he was.
I wonder if this is just something needs to be fixed, or there's a way to get him not to repeat himself?
Reply With Quote
  #2  
Old 10-23-2006, 08:47 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Maybe he's just really zealous?
Reply With Quote
  #3  
Old 10-23-2006, 09:18 AM
aza77
Hill Giant
 
Join Date: Dec 2004
Posts: 126
Default

sub EVENT_COMBAT is triggered at combat start and end. use the variable mentioned at the log that should fix it ($combat_state)
__________________
- http://www.eqemu-paradigma.de -
Reply With Quote
  #4  
Old 10-23-2006, 09:28 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by aza77
sub EVENT_COMBAT is triggered at combat start and end. use the variable mentioned at the log that should fix it ($combat_state)
I tried this and nothing happened ($combat_state) - maybe I used it wrong?
Reply With Quote
  #5  
Old 10-23-2006, 03:01 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

sub EVENT_COMBAT {
if($combat_state == 1) {
quest::say("For the defense of Kelethin!!");
quest::say("For the protection of all Fier'Dal, there shall be no mercy for your kind.");
}
}
Reply With Quote
  #6  
Old 10-23-2006, 04:34 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

Sorry to nitpick, but the guards say
"For the protection of all Fier'Dal, there shall be no mercy for your kind."
after they have successfully killed something, not when they start combat. An easy mistake to make, since they rarely need more than one swing to dispatch that decaying skeleton...
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #7  
Old 10-23-2006, 11:15 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by RangerDown
Sorry to nitpick, but the guards say
"For the protection of all Fier'Dal, there shall be no mercy for your kind."
after they have successfully killed something, not when they start combat. An easy mistake to make, since they rarely need more than one swing to dispatch that decaying skeleton...
I guess EVENT_NPC_SLAY would be the one to add for that, but I can't seem to get it to work.
Reply With Quote
  #8  
Old 10-24-2006, 03:39 AM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

try $combat_state == 1 for your attacking message
and $combat_state == 0 for the npc's message for it's opponent's death
and see if that does the trick.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:55 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3