Santino Posted August 1, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted August 1, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted August 1, 2012 You could try casting "Rest" OnUnequip, but this is untested: unitskilluseid getcharid(3),"AM_REST",1; Quote Link to comment Share on other sites More sharing options...
Santino Posted August 1, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
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 SantinoLink to comment
Share on other sites
2 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.