Using quest::creategroundobject() it will always spawn items with zero charges no matter what the item is set for in the dbase.
Is there anyway we can get something added to fix this?
Also does anyone have an example using sub EVENT_PICK_UP
I am having trouble getting it work as described.
ect where 4671 is the item that was spawned. Just doesn't work. I have this on the npc that spawns the item.
Code:
sub EVENT_PICK_UP {
if ($picked_up_id == 4671) {
quest::say("You have picked up food");
}
}
Thanks.
Kayen
GM Stormhaven