Jump to content
  • 0

Behavior of CHANGELOOK


Moooooon-Aisha

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  116
  • Reputation:   18
  • Joined:  09/08/17
  • Last Seen:  

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.

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  116
  • Reputation:   18
  • Joined:  09/08/17
  • Last Seen:  

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!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   7
  • Joined:  04/13/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  116
  • Reputation:   18
  • Joined:  09/08/17
  • Last Seen:  

5 hours ago, tribal0306 said:

please post your solution.

It's already marked.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   7
  • Joined:  04/13/12
  • Last Seen:  

19 hours ago, Moooooon-Aisha said:

It's already marked.

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

Link to comment
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...