joelolopez Posted August 1, 2013 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
chromus28 Posted August 3, 2013 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
Evelynn Posted August 3, 2013 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
GmOcean Posted August 3, 2013 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
Evelynn Posted August 3, 2013 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
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)
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.