In my game I'm trying to code an inventory system. Items can be picked up with the mouse when clicked and dropped when a click is made with an item on the mouse. A pic of the 'Drop' events is attached.
http://freeebayimagehost.com/images/nuh ... qccktg.png
When the item with ID OnMouse is not over an equipment slot and it's dropped, the code shown under that condition should run. For one of the items, it works fine. For all other items, the quantitytext is never destroyed even though the system message pops up with the correct private variable IDs for item and quantitytext. In addition, the Enable and Disable of the two groups never happens. If I click "OK" on the message boxes, it does work, but if i use spacebar on them to click OK, or if i take them out entirely it doesn't work. Any ideas?