Put On Item:
onClipEvent(enterFrame) {
if(_root.char.hitTest(this)) {
_root.addToSlot(this);
}
}
Put On Frame:
currentslotnum = 1;
stop();
function addToSlot(item){
if(!item.found){
item._x = eval ("itemslot" + currentslotnum)._x;
item._y = eval ("itemslot" + currentslotnum)._y;
item.found = true;
currentslotnum++;
}
}
Instance Name For Fred:
char
---------------------------------------
Please Rate, Comment and Subscribe