joelolopez Posted August 1, 2013 Group: Members Topic Count: 154 Topics Per Day: 0.03 Content Count: 493 Reputation: 46 Joined: 01/24/12 Last Seen: August 25, 2022 Share Posted August 1, 2013 a item_db script that makes a weapon useless if the "signed weapon"(weapon with name of the owner) is not equals to the name of the character who equipped the signed weapon :3 ex. inuyasha's katana equipped by character "sesshoumaru" (the on equip effects will not activate if the bearer is sesshoumaru) Quote Link to comment Share on other sites More sharing options...
chromus28 Posted August 3, 2013 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 263 Reputation: 1 Joined: 04/25/13 Last Seen: December 20, 2014 Share Posted August 3, 2013 I think there is no script for this yet..if they have it you are lucky bro..but im 70% sure there is no script for these Quote Link to comment Share on other sites More sharing options...
Evelynn Posted August 3, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 93 Reputation: 14 Joined: 12/12/11 Last Seen: October 25, 2015 Share Posted August 3, 2013 (edited) A theory that I was thinking of is using the card value each individual player has when the item is signed. I don't know how the number is determined nor do I know how it links to the character itself... However i've produced 3 items on the same character and they produced the same card ID. If we can somehow link this value with the character's ID then check if the ID matches with the current character that has the item then do whatever script. Edited August 3, 2013 by Evelynn Quote Link to comment Share on other sites More sharing options...
GmOcean Posted August 3, 2013 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 August 3, 2013 @Evelynn, The solution to what your looking for, can be found with the documentation listed in script_commands.txt. Just run this check in the OnEquip section of the weapon. if( ( getcharid(0) & 65535 ) != (getequipcardid(4,2)) ){unequip(4);} Quote Link to comment Share on other sites More sharing options...
Evelynn Posted August 3, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 93 Reputation: 14 Joined: 12/12/11 Last Seen: October 25, 2015 Share Posted August 3, 2013 (edited) Ah thank you for showing me where it could be done. I don't scroll through the script command.txt since it's quite a documentation. I'm glad I was able to word out what was needed to be done though. Thanks again (: Edited August 3, 2013 by Evelynn Quote Link to comment Share on other sites More sharing options...
Question
joelolopez
a item_db script
that makes a weapon useless if the "signed weapon"(weapon with name of the owner)
is not equals to the name of the character who equipped the signed weapon :3
ex.
inuyasha's katana equipped by character "sesshoumaru"
(the on equip effects will not activate if the bearer is sesshoumaru)
Link to comment
Share on other sites
4 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.