I'm struggling to figure out how to clear an item from a dragslot, either in AS or unrealscript.
In actionscript I would have though it would just be:
Can anyone advise of how to clear the contents of a dragslot?
Edit: Sorry, hasty post. I was incorrectly referencing my DragSlot instance. Assigning null is the way to clear the slot
In actionscript I would have though it would just be:
Code:
Hud.Inventory['Slot1'].content = null;
Edit: Sorry, hasty post. I was incorrectly referencing my DragSlot instance. Assigning null is the way to clear the slot
