Author Topic: Edit dropped items lifespan and option to delete dropped items  (Read 707 times)

I was making an Item shop and I realized people could hoard multiple primary weapons in their inventory by dropping secondary weapons and picking up another primary weapon. I thought up of some commands that could maybe help those in this similar situation:

/ClearDroppedItems - Clears any dropped items on the ground
/ToggleItemDropping - Toggles the restriction for dropping items
/ItemInstaDelete - Dropped Items immediately de-spawn once dropped
/DeleteItem - Delete's current selected item in your inventory
« Last Edit: January 12, 2014, 05:34:02 PM by Treti »

there is an add-on that disallows people to drop weapons, search drop lock or ctrl w or something in add-ons, though this would also be something cool. what i would like to see is be able to drop weapons and they stay there, like you said, and be able to make a class making room for a tdm without it giving you the weapons once you choose them so that you can't drop them while in the class creation room.

You can change $Game::Item::PopTime to change how quickly items disappear when they're dropped. You can even set it to 0 to make them disappear instantly.