Jump to content
  • 0

Item script problem


Question

Posted (edited)

Hello. I need some help with my script.

 

script / equip_script

if(checkoption(0x4046)){ undisguise; } else disguise 1147;
Edited by Isaiah

6 answers to this question

Recommended Posts

Posted

Here is an example for the skill cloaking...

 

Script_Event:

autobonus3 "{ undisguise; while(checkoption(Option_Hide|Option_Cloak|Option_Invisible|Option_Chasewalk)) sleep2(1000); if(playerattached()) disguise(1147); }",10000,1,135;

Equip_Event:

disguise 1147;

UnEquip_Event:

undisguise;
Posted

 

Here is an example for the skill cloaking...

 

Script_Event:

autobonus3 "{ undisguise; while(checkoption(Option_Hide|Option_Cloak|Option_Invisible|Option_Chasewalk)) sleep2(1000); if(playerattached()) disguise(1147); }",10000,1,135;

Equip_Event:

disguise 1147;

UnEquip_Event:

undisguise;

 

Hello Skorm! thanks for the reply. Although it seems with the item, after using cloak or hide it undisguises then disguises back in just less than a second(could barely notice that it undisguised), even if you're still cloaked it disguises back.

Posted (edited)

What emulator are you running?

 

I don't seem to have this problem.

 

Rec002.gif

 

Amazing. I wish it did the same. Using Rathena here. It doesn't seem to be undisguised for me. Strange.

Edited by Isaiah
Posted

You're using cloak right? Check to see if you're const.txt has these values. If it doesn't add them. https://github.com/rathena/rathena/blob/master/db/const.txt#L311

 

Surprisingly I don't have them. I added them up now. I just need to restart soon. I'll update you.

You're using cloak right? Check to see if you're const.txt has these values. If it doesn't add them. https://github.com/rathena/rathena/blob/master/db/const.txt#L311

 

Finally worked! Thank you so much for your patience, great support! You're the best.

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