bnymark 0 Posted November 13, 2015 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 ) Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted November 13, 2015 let me rephrase your question, you want an item to bypass the class restriction using npc scripts ? Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted November 13, 2015 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. Quote Share this post Link to post Share on other sites
0 bnymark 0 Posted November 13, 2015 (edited) Winterfox is right, can you guys assist me i don't want to use all_equip on group id permission Edited November 13, 2015 by bnymark Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted November 13, 2015 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 ... Quote Share this post Link to post Share on other sites
0 bnymark 0 Posted November 14, 2015 I'll just enable skill to be use i any weapon and set specific range, by the way thanks mate Quote Share this post Link to post Share on other sites
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.
Share this post
Link to post
Share on other sites