Jump to content
  • 0

Question

Posted

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

  • 1
Posted

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; }

 

  • Upvote 2
  • 0
Posted
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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...