Moooooon-Aisha Posted February 16, 2020 Posted February 16, 2020 So I was testing some stuff out and found that if I use CHANGELOOK upon equipping and un-equipping, it does not want to revert back to what the player is wearing. Code is as follows { changelook LOOK_HEAD_BOTTOM,2231; },{},{ changelook LOOK_HEAD_BOTTOM,getequipid(EQI_HEAD_LOW); } tried the other one and still the same result ,{},{ changelook LOOK_HEAD_BOTTOM,2231; },{ changelook LOOK_HEAD_BOTTOM,getequipid(EQI_HEAD_LOW); } I want to know, how do I revert back to the regular headgear I am wearing after I wore the other item that changes what I am wearing. Quote
1 Akkarin Posted February 16, 2020 Posted February 16, 2020 I think there's an old @command somewhere that does the same thing - so in your equip & unequip scripts you would have something similar to: {},{ headvar=getlook(LOOK_HEAD_BOTTOM); changelook LOOK_HEAD_BOTTOM, 2231; },{ changelook LOOK_HEAD_BOTTOM, headvar; } 2 Quote
0 Moooooon-Aisha Posted February 16, 2020 Author Posted February 16, 2020 On 2/17/2020 at 1:22 AM, Akkarin said: I think there's an old @command somewhere that does the same thing - so in your equip & unequip scripts you would have something similar to: {},{ headvar=getlook(LOOK_HEAD_BOTTOM); changelook LOOK_HEAD_BOTTOM, 2231; },{ changelook LOOK_HEAD_BOTTOM, headvar; } I've tried it this way as well, doesn't want to work as well, it does not want to revert back to the previous headgear's look at all. Sorry ,got it figured out. Seems to be working now! Quote
0 Lord Turtle Posted February 19, 2020 Posted February 19, 2020 On 2/17/2020 at 6:02 AM, Moooooon-Aisha said: Sorry ,got it figured out. Seems to be working now! please post your solution. 1 Quote
0 Moooooon-Aisha Posted February 19, 2020 Author Posted February 19, 2020 5 hours ago, tribal0306 said: please post your solution. It's already marked. Quote
0 Lord Turtle Posted February 20, 2020 Posted February 20, 2020 19 hours ago, Moooooon-Aisha said: It's already marked. Okay. its because you quoted the answer as not working thats why its confusing. Quote
Question
Moooooon-Aisha
So I was testing some stuff out and found that if I use CHANGELOOK upon equipping and un-equipping, it does not want to revert back to what the player is wearing.
Code is as follows
{ changelook LOOK_HEAD_BOTTOM,2231; },{},{ changelook LOOK_HEAD_BOTTOM,getequipid(EQI_HEAD_LOW); }
tried the other one and still the same result
,{},{ changelook LOOK_HEAD_BOTTOM,2231; },{ changelook LOOK_HEAD_BOTTOM,getequipid(EQI_HEAD_LOW); }
I want to know, how do I revert back to the regular headgear I am wearing after I wore the other item that changes what I am wearing.
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.