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

Winterfox is right, can you guys assist me  :)

 

i don't want to use all_equip on group id permission

Edited by bnymark

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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