Jump to content
  • 0
ToiletMaster

Unable to use this particular item

Question

Hi guys,

 

i've created a custom item, however, is it possible to not allow the user to open the Box unless he has completed one of the quest?

 

here's the item that i have so far.

 

 

{    Id: 20009    AegisName: "Shady_Gift_Box"    Name: "Mr.Shady's Gift Box"    Type: 0    Buy: 500    Sell: 50    Weight: 10    Script: <"            if(questprogress(81000) != 2){            dispbottom "You shall not pass";            end;            }            else {            getitem 20005,5;            }            ">},

 

 

it works on how i actually wish, the only problem is that the item goes missing instead, being able to reuse again.

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Try this:

 

{    Id: 20009    AegisName: "Shady_Gift_Box"    Name: "Mr.Shady's Gift Box"    Type: 0    Buy: 500    Sell: 50    Weight: 10    KeepAfterUse: true    Script: <"            if(questprogress(81000) != 2){            dispbottom "You shall not pass";            end;            }            else {            getitem 20005,5;            delitem 20009,1;            }            ">}, 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.