Jump to content
  • 0
Sign in to follow this  
bnymark

R> Equip Item

Question

Hi,

 

I just want a script that will check the inventory if you got a certain item you can equip restricted weapon for your class.

 

cant find what variables to use, I only come up with this.

 

script {OnPCLoginEvent: if (countitem(itemid)) {			// can equip weapon ( knight equip a bow )

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

let me rephrase your question, you want an item to bypass the class restriction using npc scripts ?

Share this post


Link to post
Share on other sites
  • 0

let me rephrase your question, you want an item to bypass the class restriction using npc scripts ?

He wants to make a item equipable for a class that normally couldn't equip it as long as you have a certain item in the inventory.

Share this post


Link to post
Share on other sites
  • 0

no such thing though

there is no script command can bypass item_db's class restriction

 

unless you know how to patch, write your own source code ...

 

how about give some specific example ...

maybe I know a little bit ... since I wrote that noitem mapflag ...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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