EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   quest::summonitem (https://www.eqemulator.org/forums/showthread.php?t=34415)

bruise 10-31-2011 11:26 PM

quest::summonitem
 
I'm currently having an issue with my quests where the "summonitem" part of the quest won't work. It works on all other npc's in the game but when I create a new npc and load the quest onto the npc, everything works great except the player doesn't receive the item. I have tried rebooting the server, turning qglobals on/off, etc. Below is one of GeorgeS' example quests and when I summon the items, the NPC says "This is yours..etc" but the item is not received.


tl;dr: I'm using GeorgeS quest editor. Everything works fine except when I give a new quest to a newly created npc.

Quote:

#Multiple item turn in And a reward issued
sub EVENT_SAY {
if ($text =~/Hail/i) { quest::say ("I need 1 Metal Bits, 1 Metal Twine and 1 ruby to make your ruby crown"); }
}

sub EVENT_ITEM
{
if (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
{
quest::emote("removes a item from his pocket.");
quest::say("This is yours. Care for it well!");
quest::SummonItem(10051); #ruby crown
}
}




Thanks!

ChaosSlayerZ 10-31-2011 11:56 PM

try summonitem instead of SummonItem


All times are GMT -4. The time now is 12:27 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.