Difference between revisions of "DropAllItems"

92 bytes removed ,  14:39, 4 July 2007
Removed RemoveItem, Drop removes the item
imported>Haama
(Cleared some things up)
imported>Haama
(Removed RemoveItem, Drop removes the item)
Line 18: Line 18:
         set CurObjNum to ActorRef.GetItemCount CurObj
         set CurObjNum to ActorRef.GetItemCount CurObj
         ActorRef.Drop CurObj CurObjNum
         ActorRef.Drop CurObj CurObjNum
        ActorRef.RemoveItem CurObj CurObjNum
       else
       else
         set DropAllItems to 0
         set DropAllItems to 0
Line 55: Line 54:
           set CurObjNum to (ActorRef.GetItemCount CurObj)
           set CurObjNum to (ActorRef.GetItemCount CurObj)
           ActorRef.Drop CurObj CurObjNum
           ActorRef.Drop CurObj CurObjNum
          ActorRef.RemoveItem CurObj CurObjNum
         endif
         endif
         set InvPosition to (InvPosition + 1)
         set InvPosition to (InvPosition + 1)
Anonymous user