deaddraqear
04-11-2011, 04:09 PM
For the life of me, (been sick and almost no sleep isn't helping), i cant figure out how to get npc to give task credit for items, unless 1 at a time.. And npc eats any item handed in (i am probably using the plugin wrong?)
1 at a time works fine, but who really wants to do that? I have tried => and different variations.. Do i need to set it itemcount{66181} == 2 to update 2 on updatetaskactivity, 3 to 3 and 4 for 4? =\ Seems like it would work, but I'm sure theres an easier way?
sub EVENT_ITEM
{
if ($itemcount{66181} == 1)
{
quest::updatetaskactivity(1, 1)
}
else
{
plugin::return_items(\%itemcount);
}
}
1 at a time works fine, but who really wants to do that? I have tried => and different variations.. Do i need to set it itemcount{66181} == 2 to update 2 on updatetaskactivity, 3 to 3 and 4 for 4? =\ Seems like it would work, but I'm sure theres an easier way?
sub EVENT_ITEM
{
if ($itemcount{66181} == 1)
{
quest::updatetaskactivity(1, 1)
}
else
{
plugin::return_items(\%itemcount);
}
}