Jump to content
  • 0

item changelook


Question

Posted

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

5 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted
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

  • 0
Posted
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;

}

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