Lord Ganja
New member
I use an item that has a bonus that summons a slave clone, and whenever I unequipped the item it will call this functions for the clone to die.
function script unequip_item { killmonster strcharinfo(3), "clonecheck::On"+ getcharid(0); end;}
Here's the script that summons the clone:
clone "prontera",150,150,"clonecheck::On"+getcharid(0), getcharid(0), getcharid(0), 0x8D, 1, 40;
BUT whenever another player killed the clone I got this error.
[Error]: npc_event: event not found [clonecheck::On150031]
Since 150031 is the clone master's id, I don't have any idea how to make the npc event for that so I can avoid the error.
Any ideas? Thanks in advance!
function script unequip_item { killmonster strcharinfo(3), "clonecheck::On"+ getcharid(0); end;}
Here's the script that summons the clone:
clone "prontera",150,150,"clonecheck::On"+getcharid(0), getcharid(0), getcharid(0), 0x8D, 1, 40;
BUT whenever another player killed the clone I got this error.
[Error]: npc_event: event not found [clonecheck::On150031]
Since 150031 is the clone master's id, I don't have any idea how to make the npc event for that so I can avoid the error.
Any ideas? Thanks in advance!