I have some code that Equips items to players, its quite simple and works like this, usr.overlays += Item.
Now the question I wish to ask is, if I was to change the Item in any way, for example, its layer, or icon, would I be able to use usr.overlays -= Item?
I was wondering because I seem to have quite a few problems where if I change the Item its self, the code wont allow me to remove that Item from an overlay on a player. usr.overlays -= I just wont seem to work, unless I keep the Item un-changed.
Could anyone tell me why this is? and maybe suggest a better way to add an item to someone without using, usr.overlays += 'icon.dmi'?
Jul 28 2008, 12:35 pm