obj
MouseDrop(over_object,src_location,over_location)
// from the Inventory panel to the map
if((src_location == "Armour") && isturf(over_location))
if(get_dist(usr,over_location)<=1)
if(src.suffix == "Equipped")
usr << "Un-equip [src] first!"
return
else
src.Move(over_location)
else if((src_location == "Weapons") && isturf(over_location))
if(get_dist(usr,over_location)<=1)
if(src.suffix == "Equipped")
usr << "Un-equip [src] first!"
return
else
src.Move(over_location)
else if((src_location == "other") && isturf(over_location))
if(get_dist(usr,over_location)<=1)
src.Move(over_location)
Problem description:
Well I just want it so if you drag something out of any of these "inventorys" to somewhere onto the screen it will drop it there. If I drop something from "armour" it works. If I do something from other, it doesn't. It puts it onto the screen but doesn't take it out of the inventory.... please tell me whats wrong, by the way if this helps, all three have different contents.. NOTE. I still don't really understand this fully since i kind of learned how to do it yesterday.