Difference between revisions of "DropAllItems"
Jump to navigation
Jump to search
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 | ||
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 | ||
endif | endif | ||
set InvPosition to (InvPosition + 1) | set InvPosition to (InvPosition + 1) |