IvanD Posted June 5, 2018 Posted June 5, 2018 is this possible? Script that change color of clothing (to clothing #300) when wearing apple of archer (clothing goes back when AOA unequipped) Quote
0 TheDerpySupport Posted June 5, 2018 Posted June 5, 2018 42 minutes ago, IvanD said: is this possible? Script that change color of clothing (to clothing #300) when wearing apple of archer (clothing goes back when AOA unequipped) It is very doable however its a little messy because if you change your palette while the headgear is equipped you'd go back to the previous color you had Quote
0 IvanD Posted June 5, 2018 Author Posted June 5, 2018 3 minutes ago, TheDerpySupport said: It is very doable however its a little messy because if you change your palette while the headgear is equipped you'd go back to the previous color you had do you have a script for it sir? Quote
0 TheDerpySupport Posted June 5, 2018 Posted June 5, 2018 (edited) 20 minutes ago, IvanD said: do you have a script for it sir? i = getlook(LOOK_CLOTHES_COLOR); setlook LOOK_CLOTHES_COLOR,1; setlook LOOK_CLOTHES_COLOR, i; The top part you put in your OnEquip and the 2nd part is OnUnequip; Edited June 5, 2018 by TheDerpySupport 1 Quote
0 IvanD Posted June 5, 2018 Author Posted June 5, 2018 3 hours ago, TheDerpySupport said: i = getlook(LOOK_CLOTHES_COLOR); setlook LOOK_CLOTHES_COLOR,1; setlook LOOK_CLOTHES_COLOR, i; The top part you put in your OnEquip and the 2nd part is OnUnequip; thank you very very much! sir Quote
1 AnnieRuru Posted June 5, 2018 Posted June 5, 2018 heck, don't use *setlook ... setlook will save to the character data ... for example, like in this script, if you have use setlook here, player can save the clothing color by logging out, and this will make the player permanently have that cloth color - script ksdjhfksjf -1,{ OnInit: // 1201 - knife ... 2301 - cotton shirt setitemscript 1201, "{ changelook LOOK_CLOTHES_COLOR, getlook(LOOK_CLOTHES_COLOR); }", 2; setitemscript 2301, "{ changelook LOOK_CLOTHES_COLOR, getlook(LOOK_CLOTHES_COLOR); }", 2; end; } db\re\item_combo_db.txt 1201:2301,{ changelook LOOK_CLOTHES_COLOR, 2; } Quote
0 IvanD Posted June 6, 2018 Author Posted June 6, 2018 7 hours ago, AnnieRuru said: heck, don't use *setlook ... setlook will save to the character data ... for example, like in this script, if you have use setlook here, player can save the clothing color by logging out, and this will make the player permanently have that cloth color - script ksdjhfksjf -1,{ OnInit: // 1201 - knife ... 2301 - cotton shirt setitemscript 1201, "{ changelook LOOK_CLOTHES_COLOR, getlook(LOOK_CLOTHES_COLOR); }", 2; setitemscript 2301, "{ changelook LOOK_CLOTHES_COLOR, getlook(LOOK_CLOTHES_COLOR); }", 2; end; } db\re\item_combo_db.txt 1201:2301,{ changelook LOOK_CLOTHES_COLOR, 2; } Thank you for the effort.. but I’m fine from what he gave..... but I have a new idea from what you gave thank you Quote
0 Bolby91 Posted May 19, 2020 Posted May 19, 2020 (edited) On 6/5/2018 at 1:14 AM, TheDerpySupport said: i = getlook(LOOK_CLOTHES_COLOR); setlook LOOK_CLOTHES_COLOR,1; setlook LOOK_CLOTHES_COLOR, i; The top part you put in your OnEquip and the 2nd part is OnUnequip; hello thanks for the script i already tried it and it works, however I saw a problem when the item is equipped clicks the healer npc the color won't go back to normal when you unequipped it. Any help with this? Edited May 19, 2020 by Jholz27 Quote
0 Bolby91 Posted May 19, 2020 Posted May 19, 2020 nvm already solve it just use getlook instead of setlook Quote
Question
IvanD
is this possible?
Script that change color of clothing (to clothing #300) when wearing apple of archer (clothing goes back when AOA unequipped)
8 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.