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, 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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
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

Thread Tools
Display Modes

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 07:50 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3