Santino Posted August 1, 2012 Posted August 1, 2012 (edited) I added a custom item "homunculus clip" to my server, that allows to call a homunculus. but i lack something on the unequip/equip script, to remove my homunculus when i unequip my homunculus clip. what to add in this script? 8048,Homunculus_Clip,Homunculus_Clip,5,30000,10,1000,,,,2,0xFFFFFFFF,7,2,136,,1,,,{ skill "AM_CALLHOMUN",1; skill "AM_REST",1; skill "AM_RESURRECTHOMUN",1;},{},{} SOLVED! =) {skill "AM_CALLHOMUN",1; skill "AM_REST",1; skill "AM_RESURRECTHOMUN",1;},{},{ atcommand "@useskill 244 1 " + strcharinfo(0); } Edited August 1, 2012 by Santino Quote
Euphy Posted August 1, 2012 Posted August 1, 2012 You could try casting "Rest" OnUnequip, but this is untested: unitskilluseid getcharid(3),"AM_REST",1; Quote
Santino Posted August 1, 2012 Author Posted August 1, 2012 ohh! thx man! & sorry too, i'v got this one solved now, i forgot to check this topic back! >.<! but , anyways thx {skill "AM_CALLHOMUN",1; skill "AM_REST",1; skill "AM_RESURRECTHOMUN",1;},{},{ atcommand "@useskill 244 1 " + strcharinfo(0); } SOLVED! Quote
Question
Santino
I added a custom item "homunculus clip" to my server, that allows to call a homunculus.
but i lack something on the unequip/equip script, to remove my homunculus when i unequip my homunculus clip.
what to add in this script?
8048,Homunculus_Clip,Homunculus_Clip,5,30000,10,1000,,,,2,0xFFFFFFFF,7,2,136,,1,,,{ skill "AM_CALLHOMUN",1; skill "AM_REST",1; skill "AM_RESURRECTHOMUN",1;},{},{}
SOLVED! =)
Edited by Santino2 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.