Announcement

Collapse
No announcement yet.

Clear contents of a dragslot?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Clear contents of a dragslot?

    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:

    Code:
    Hud.Inventory['Slot1'].content = null;
    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
Working...
X