Difference between revisions of "DropAllItems"

15 bytes added ,  10:59, 7 March 2008
Fixed the bottom script
imported>Haama
(Easier way to do the top one)
imported>Haama
(Fixed the bottom script)
 
Line 54: Line 54:
           set CurObjNum to (ActorRef.GetItemCount CurObj)
           set CurObjNum to (ActorRef.GetItemCount CurObj)
           ActorRef.Drop CurObj CurObjNum
           ActorRef.Drop CurObj CurObjNum
        else
          set InvPosition to (InvPosition + 1)
         endif
         endif
        set InvPosition to (InvPosition + 1)
       else
       else
         set DropAllItems to 0
         set DropAllItems to 0
Anonymous user