Jump to content
  • 0
Mr BrycE

Special Effects

Question

Hi.

How can i add Special Effects in an Item?

Example:

Hokage Hat on the OnEquip Script when Equipped a Special Effect will shown.

and i noticed that some effects are not permanent they are fading

help me on this please...

Link to comment
Share on other sites

18 answers to this question

Recommended Posts

You could try this item script (not sure if it would work, though):

while(isequipped(<your item>)) { specialeffect2 <effect>; sleep2 5000; }

Link to comment
Share on other sites

{Script},{OnEquip_Script},{OnUnequip_Script}

{Script}: This is where you put your item bonus. Whether it's an usable item or an equip item, it will take effect according to the item type.
{OnEquip_Script}: This is where the bonus you want to be applied upon equipping goes. It will only execute as soon as you equip the item.
{OnUnequip_Script}: This is where the bonus you want to be applied upon unequipping goes. It will only execute as soon as you unequip the item

Link to comment
Share on other sites

Put it at the end of the "Script" (first) bracket. Tested, and it works.

{ while(isequipped(<your item>)) { specialeffect2 <effect>; sleep2 5000; } },{},{}

Link to comment
Share on other sites

when i put this...

{ while(isequipped(20210)) { specialeffect2 348; sleep2 5000; specialeffect2 513; sleep2 5000; specialeffect2 486; sleep2 5000; specialeffect2 455; sleep2 5000; } },{},{}

it doesnt show all at once...its showing one by one xD

but depends when the effect is permanent.

Link to comment
Share on other sites

your script says,

show effect then wait, then show effect then wait ...

try

specialeffect2 348; specialeffect2 513; specialeffect2 486; specialeffect2 455; sleep2 5000; 

I did not tested it.

Link to comment
Share on other sites

Its working..

nc thanks...!

Thank you guys.

EDIT:

Oh how about removing the special effects when unequipped?

{},{},{} < this last box right? what will i add to it...

Edited by Mr BrycE
Link to comment
Share on other sites

and its still showing when Hiding/Chasewalk/cloak...LOL xD

refreshing like warping back? @go 0?

is there any script that removing the special effects on its unequip?

Link to comment
Share on other sites

Client is unable to remove effects manually, you should do jump into current location. It refreshes player's client and the Others will not see effect after teleportation.

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

Important Information

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