Quote:
Originally Posted by Neiv
Yay! That did it! It's now accepting only item 13732. Since that item is lore, the ">" operator becomes moot. (But why doesn't == work?)
Thanks for all the help. Next up; mob spawns triggered by the same turn-in. Going to try my hand at solo-ing the quest:spawn feature, but I may be back. Thanks again.
|
I belive its not the operator you thing it is.
rather than "greater or equal" it reads something like "fetch from item slot"
- basilcy its not an operator at all (from my logical understanding)
regading mob spawns. here is an easy sample for you to work with pulled from one of my quests
Code:
sub EVENT_ITEM
{
if(plugin::check_handin(\%itemcount, 1027 => 1))
{
quest::say("Now that you got back my magical tome, I have no more use for you. Sorry dear...");
#spawns 4 KOS mobs around you
my $x;
my $y;
my $z;
my $h;
$x = $npc->GetX();
$y = $npc->GetY();
$z = $npc->GetZ();
$h = $npc->GetHeading();
quest::spawn2(58012,0,0,$x+5,$y+5,$z,$h);
quest::spawn2(58012,0,0,$x-5,$y-5,$z,$h);
quest::spawn2(58012,0,0,$x+5,$y-5,$z,$h);
quest::spawn2(58012,0,0,$x-5,$y+5,$z,$h);
}
else
{
plugin::return_items(\%itemcount);
}
}
Enjoy =)