Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-03-2004, 04:23 PM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default Npcs wont attack ???

I tried code i saw used in many places, and it doesn't seem to work. everything else in it works. but the mob simply doesn't attack me when i hand the item in.

Code:
sub EVENT_ITEM { 
if($itemcount{20368} == 1){ # Note to Maligar
quest::say("Hmmm. What's this? A note from that silly bard Baenar? I wasn't aware that those of his kind could write, much less read.");
quest::emote("lets out a deep laugh.");
quest::say("I see you do not share my sense of humor. Let's read it, shall we? Oh, no! She's dead? I knew that already, you fool. It was by my hand she died! Ooops! Did I let that slip out? Silly me. I guess I will have to kill you now!");
quest::spawn(12132,0,0,-10905,1249,210);
quest::attack("$name");
}
}
sub EVENT_DEATH { 
quest::depop();
}

#END of FILE Zone:qey2hh1  ID:12076 -- Maligar
Also, i noticed depop(); on death doesn't appear to work. I would of expected it to make him go poof after he dies like a vendor would. Maybe i need to pass an arguement through it? The reason i did a depop() on death was because when i kill him, he has the note that i had given him to spawn the second mob and cause him to attack me. This item is a quest item and should be destroyed after i hand it in, shouldn't be able to loot it when he dies ) Anybody know a way to get around this some how?

thanks!

any ideas?
Reply With Quote
 


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:24 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