Yonko Posted October 18, 2012 Posted October 18, 2012 the script that disables to equip a certain item on a particular map. instead use of mapflags. Quote
AnnieRuru Posted October 18, 2012 Posted October 18, 2012 (edited) mapflag is the only way to do it without touching source you mean certain players can equip knife, but certain players can't equip knife in the same map ? EDIT: I regretted I post this I shouldn't have support if the topic didn't provide enough information Edited October 18, 2012 by AnnieRuru Quote
GmOcean Posted October 18, 2012 Posted October 18, 2012 (edited) While, I agree with Annie, on giving support, you can do this: if(strcharinfo(3)=="map_name"){unequip(equipment_slot);} Refer to: getequipid in - rAthena/doc/script_commands.txt, to figure out the equip-slots. Just put that line of code in your item's script section and it should do what you want. However, it will constantly check to see if the player is on a said map. Additionally, you can place this code in the: OnEquip script for your item, to force unequip the item, when equipped on said map. This will work, the same, except it won't do a constant check. So it won't help if they already have the item equipped. Edited October 18, 2012 by GmOcean Quote
Emistry Posted October 18, 2012 Posted October 18, 2012 you can try this... https://rathena.org/board/index.php?/files/file/2505-%7B?%7D/ Quote
Yonko Posted October 18, 2012 Author Posted October 18, 2012 oopps sorry here's the scenario. lets say the novice vs. zombie event. the novice seems to wear a certain shoes that gives speed i want to unequiped that on the map. Quote
AnnieRuru Posted October 18, 2012 Posted October 18, 2012 this source mod should fix the movement speed in the map http://www.eathena.ws/board/index.php?s=&showtopic=273944&view=findpost&p=1503295 regardless what kind of speed buff they get Quote
Question
Yonko
the script that disables to equip a certain item on a particular map. instead use of mapflags.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.