Santino Posted August 1, 2012 Posted August 1, 2012 (edited) I've made some custom items with bonus scripts to work, like the vendor's ring, falcon ring, novice suit, etc. But i've got a little problem in my homunculus clip. I can call a homunculus, do homun skills, resurrect homun, and rest, but if i unequip the homunculus clip, the homun is still there. This is my homunculus clip item 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;},{},{} I dunno what to put in the OnEquip_Script, and OnUnequip_Script. i based that script on my vendor's ring item script that worked: 8047,Vendors_Ring,Vendors_Ring,5,30000,10,1000,,,,2,0xFFFFFFFF,7,2,136,,1,,,{ skill "MC_PUSHCART",1; skill "MC_VENDING",1; skill "MC_CHANGECART",1; },{ setcart 1; },{ setcart 0; } what do i lack on my homunculus clip script? SOLVED! Thanks to all of you! especially malufett! :> 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;},{},{ atcommand "@useskill 244 1 " + strcharinfo(0); } Edited August 1, 2012 by Santino Quote
EvilPuncker Posted August 1, 2012 Posted August 1, 2012 you can request in source section to someone write a scriptcommand to delete your homunculus or vaporize it Quote
Jzz Posted August 1, 2012 Posted August 1, 2012 Hmm, As far as I know, Alchemist has 3 skill used to call homunculus, resurrect and rest right? Hmm why dont you try to add some skill when the item is in use so that you dont need to modify anything else. Quote
Santino Posted August 1, 2012 Author Posted August 1, 2012 ahmm, you mean to add call homun,rest,and resurrect skill on the item? yeah i'v done that. in my script =/ the problem is, when i'm unequiping it, the homun will not be gone. Quote
Joseph Posted August 1, 2012 Posted August 1, 2012 Try this.. {summon "I'm so evil!",1272,120000,"summonpls::On" + getcharid(0);},{},{getmapxy .@map$, .@x, .@y, 0; killmonster .@map$,"summonpls::On"+getcharid(0);} Quote
Santino Posted August 1, 2012 Author Posted August 1, 2012 (edited) Try this.. {summon "I'm so evil!",1272,120000,"summonpls::On" + getcharid(0);},{},{getmapxy .@map$, .@x, .@y, 0; killmonster .@map$,"summonpls::On"+getcharid(0);} Yo! Thx for this script, i've got this worked out, but there's a big problem , lol. When i wear this clip, i summon the dark lord (1272,i'll change it later), & when unequip it disappears, yeah that's good but, when i wear the clip, and change any of my gears, upper/mid/lower, it summons another Dark Lord. lol, everytime i changed gears. lol dark lords are spawning XD Edited August 1, 2012 by Santino Quote
plankt Posted August 1, 2012 Posted August 1, 2012 Try to set the script onEquip instead, it's the second item script field. {},{summon "I'm so evil!",1272,120000,"summonpls::On" + getcharid(0);},{getmapxy .@map$, .@x, .@y, 0; killmonster .@map$,"summonpls::On"+getcharid(0);} Quote
Santino Posted August 1, 2012 Author Posted August 1, 2012 Try to set the script onEquip instead, it's the second item script field. {},{summon "I'm so evil!",1272,120000,"summonpls::On" + getcharid(0);},{getmapxy .@map$, .@x, .@y, 0; killmonster .@map$,"summonpls::On"+getcharid(0);} Thx Bro's! hmm, if i'm right Lif (Homunculus ID) is 6001 right? i tried to changed 1272 to 6001, but nothing appears. or it's impossible to summon a lif? Quote
malufett Posted August 1, 2012 Posted August 1, 2012 try this 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;},{},{ atcommand "@useskill 244 1 " + strcharinfo(0); } Quote
Santino Posted August 1, 2012 Author Posted August 1, 2012 try this 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;},{},{ atcommand "@useskill 244 1 " + strcharinfo(0); } you're name says it bro! ang lufet! thx! Solved Quote
Question
Santino
I've made some custom items with bonus scripts to work, like the vendor's ring, falcon ring, novice suit, etc.
But i've got a little problem in my homunculus clip.
I can call a homunculus, do homun skills, resurrect homun, and rest, but if i unequip the homunculus clip, the homun is still there.
This is my homunculus clip item 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;},{},{}
I dunno what to put in the OnEquip_Script, and OnUnequip_Script.
i based that script on my vendor's ring item script that worked:
8047,Vendors_Ring,Vendors_Ring,5,30000,10,1000,,,,2,0xFFFFFFFF,7,2,136,,1,,,{ skill "MC_PUSHCART",1; skill "MC_VENDING",1; skill "MC_CHANGECART",1; },{ setcart 1; },{ setcart 0; }
what do i lack on my homunculus clip script?
SOLVED! Thanks to all of you! especially malufett! :>
Edited by Santino10 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.