Mr BrycE Posted June 11, 2012 Posted June 11, 2012 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... Quote
Euphy Posted June 11, 2012 Posted June 11, 2012 You could try this item script (not sure if it would work, though): while(isequipped(<your item>)) { specialeffect2 <effect>; sleep2 5000; } Quote
Mr BrycE Posted June 11, 2012 Author Posted June 11, 2012 where should i put it? on my Item ? {},{},{}? Quote
Syouji Posted June 11, 2012 Posted June 11, 2012 {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 Quote
Euphy Posted June 11, 2012 Posted June 11, 2012 Put it at the end of the "Script" (first) bracket. Tested, and it works. { while(isequipped(<your item>)) { specialeffect2 <effect>; sleep2 5000; } },{},{} Quote
Mr BrycE Posted June 12, 2012 Author Posted June 12, 2012 ok hmm what does sleep2? is it a duration for 5 secs? Quote
Mr BrycE Posted June 12, 2012 Author Posted June 12, 2012 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. Quote
mleo1 Posted June 12, 2012 Posted June 12, 2012 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. Quote
Mr BrycE Posted June 12, 2012 Author Posted June 12, 2012 (edited) 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 June 12, 2012 by Mr BrycE Quote
Mr BrycE Posted June 17, 2012 Author Posted June 17, 2012 bump how to remove special effects when unequipping... Quote
Mr BrycE Posted June 19, 2012 Author Posted June 19, 2012 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? Quote
ph1047 Posted August 29, 2012 Posted August 29, 2012 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. Quote
Emistry Posted August 30, 2012 Posted August 30, 2012 http://rathena.org/w...finity_loop_.21 you have to show what script you use / edited..... otherwise...we cant really provide much help here... Quote
Question
Mr BrycE
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...
18 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.