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 08-01-2008, 05:24 PM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default Remove Item

Is there a quest function for removing an item from a player upon the player's death? I have an Event_Slay that triggers a check_hasitem upon killing a player. If the player is carrying the item, I want the npc to "loot" it (really, just remove it from the player). It does not have to happen at the player's death; it could just as easily be an hp event. Either way, what do I use to remove the item from the player? Is there a quest::removeitem() function?
Reply With Quote
  #2  
Old 08-01-2008, 05:49 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

On our server, we wound up with players farming zones I didn't realize were revamped for the drops that were there. This obviously presented a problem.

We use a translocating NPC for people to get around. I set a proximity for him of 50 units. Then I set an enter proximity script like this:

Code:
sub EVENT_ENTER {
  if ($name ne /Greenmist/){
    $client->NukeItem(XXXXX);
  }
}
There was a whole list. Anyone but me would have those items nuked from their person with no fanfare or even a message. It would work just as well under other sub EVENT types so long as you have a method for triggering it.

Hope this helps =)
Reply With Quote
  #3  
Old 08-01-2008, 06:14 PM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default

very nice, SO-, thank you. That will work perfectly. Is there another quest list that contains commands like this, besides the Lexicon and this page? Where else might I find obscure quest functions?
Reply With Quote
  #4  
Old 08-01-2008, 06:16 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

The QuestObjects Wiki page.
Reply With Quote
  #5  
Old 08-01-2008, 07:36 PM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default

Very helpful thanks!

Any reason I cannot access the entityList page?
Reply With Quote
  #6  
Old 08-01-2008, 08:26 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

It isn't written. When you try to access it, it's prompting you to write 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 03:35 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