Jump to content
  • 0
Moooooon-Aisha

Behavior of CHANGELOOK

Question

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.

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 1

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

Share this post


Link to post
Share on other sites
  • 0
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!

Share this post


Link to post
Share on other sites
  • 0
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.

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0
19 hours ago, Moooooon-Aisha said:

It's already marked.

Okay.  its because you quoted the answer as not working thats why its confusing.

Share this post


Link to post
Share on other sites

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.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.