View Single Post
  #1  
Old 04-10-2004, 02:21 PM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default quest::giveitem ?

'lo all

Just wondering if theres any plans for a kind of quest::giveitem(itemid) command, or if its possible to implement one somehow?

On the server I play on, I'm Lead Quest Developer. On our server, we dont allow the players to summon NO DROP items. Recently, I write afew turn in's for Elemental + Ornate armour.
Just for one tiny item hand in bit, it looks something like this:

Code:
sub EVENT_ITEM
{
#ornate
if($item1 == 16299){quest::summonitem(9628);} #helm
It's basically if the players hand in the mold, then they get the armour.
However, quest::summonitem() treats it as if the player summons the item... and of course, the reward is no drop, so they get the error "You are not a GM to summon this item".
Damn.

After doing this for 15 classes, for 14 pieces of armour each ... :evil:

So I was wondering, can anyone see a way round this? A kind of quest::giveitem() would be so handy...
Thank you everyone.
__________________
;o)
Reply With Quote