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-01-2008, 02:38 AM
VallonTallonZek
Sarnak
 
Join Date: May 2008
Location: Halas
Posts: 42
Default

edit: Or not...
Reply With Quote
  #2  
Old 10-01-2008, 04:09 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

or not? im guessing you posted something that did not work?
Reply With Quote
  #3  
Old 10-01-2008, 07:29 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

EVENT_DEATH will trigger as the mob dies, so you will not be able to prevent it from dying and leaving a corpse. However, why don't you make it do all this at a 0% health event? Granted if your NPC does not have a lot of hit points, there is a possibility of him still dying upon final blow from 1% to death... Just an option.
Reply With Quote
  #4  
Old 10-01-2008, 07:48 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

ok i have no problem with doing that but how do i find out who hit him last at that point
Reply With Quote
  #5  
Old 10-01-2008, 09:31 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

You can always run a test to see if it picks up the person that damages him into the HP event.

Try having setting up a few health events and have the NPC say $name in health events when damaging with 2 or 3 characters to test it out.
Reply With Quote
  #6  
Old 10-01-2008, 11:08 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

its calling out the npcs name at the hp events. so im guessing its not triggered by the player
Reply With Quote
  #7  
Old 10-01-2008, 11:28 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

If you want to delete the corpse after it dies, you should check out this quest I posted here:

http://www.eqemulator.net/forums/showthread.php?t=25927

You will still need a way to get the class that got the kill, but one you do, you can replace the IsEmpty check in my script to check for the class instead. Might be useful.

So, are you trying to ensure that a certain class is soloing this NPC, or the only thing that matters is if the right class gets the killing blow? If you are trying to make sure that the right class is the only one killing it, you could probably just have it check everyone on the hate list and check their class and if they aren't the right one it depops.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 05:57 PM.


 

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