Jump to content
  • 0

item changelook


powkda

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  89
  • Reputation:   1
  • Joined:  11/11/17
  • Last Seen:  

I made this item to hide the headgear, but if the character relogged the items again, I wanted it to only appear if the character changed the equipment, how should I do it?

30130,Adesivo_Magico,Adesivo Magico,2,1,,500,,,,,0xFFFFFFFF,7,2,,,,,,{ changelook LOOK_HEAD_TOP, 0; changelook LOOK_HEAD_MID, 0; changelook LOOK_HEAD_BOTTOM, 0; },{},{}

Thank you in advance for your attention, and you will definitely have my like

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  89
  • Reputation:   1
  • Joined:  11/11/17
  • Last Seen:  

bump

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

maybe you can do some trick
make function 
and then triger with 

onpclogin:

 if ( noview == 1){
do script
{

 

 

in your equipment script just give script set noview 1 when use and noview 0 when put it off

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   46
  • Joined:  10/30/12
  • Last Seen:  

Maybe you can check this:

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  89
  • Reputation:   1
  • Joined:  11/11/17
  • Last Seen:  

On 3/11/2022 at 4:00 AM, LearningRO said:

maybe you can do some trick
make function 
and then triger with 

onpclogin:

 if ( noview == 1){
do script
{

 

 

in your equipment script just give script set noview 1 when use and noview 0 when put it off

the problem is that it's a consumable item, not a piece of equipment

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

On 4/21/2022 at 7:22 PM, powkda said:

the problem is that it's a consumable item, not a piece of equipment

how the item work?
if as consumable still can do with the trick
and dont forget triger too on ONPCLOGINEVENT:

OnPCLoginEvent:
if (noview == 1){

changelook LOOK_HEAD_TOP, 0; changelook LOOK_HEAD_MID, 0; changelook LOOK_HEAD_BOTTOM, 0;

}

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...