Yonko Posted October 18, 2012 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted October 18, 2012 the script that disables to equip a certain item on a particular map. instead use of mapflags. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 18, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
GmOcean Posted October 18, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted October 18, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 18, 2012 you can try this... https://rathena.org/board/index.php?/files/file/2505-%7B?%7D/ Quote Link to comment Share on other sites More sharing options...
Yonko Posted October 18, 2012 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Author Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 18, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Question
Yonko
the script that disables to equip a certain item on a particular map. instead use of mapflags.
Link to comment
Share on other sites
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.