Drop player Item

I want to know how to drop player items. To be specific, let’s say player 1 has five cash, and player 2 knockouts player 1, so player 1 drops its 5 cash, and Player 2 is able to collect them. So pretty much the more cash you have, the more you drop.

If you can, please give the simplest answer, thanks!

There’s a guide on this, also, search before you post

4 Likes

Here I got use a lifecycle so when player knocked out use a item granter so wire it up to the lifecycle so when player is knocked out he give the player have the cash

Another way is to have a item manger that sets the item limit to something really high, like a million. Than on player knockout, you have a item granter, set to overflow, grant that player the item limit, in this case a million. Than clear that item from the knocked out players inventory. That should make it so the player will drop all of the selected item on knockout.

1 Like

Just use bird’s guide like dungeonmaster said, and make sure that you allow item drop in both map settings and zones’ settings.

1 Like

“on player knockout”, is it a lifecycle, or knockout manager?

Also I don’t quite get what you mean when you said, “Than clear that item from the knocked out players inventory. That should make it so the player will drop all of the selected item on knockout.” The player who knocked out will get 1 mill cash, and I only want it to drop the amount of cash the player who was knocked out had.

Lifecycle

Use an inventory item manager to clear item from inventory when receiving on channel “Knocked out” (That is being transmitted from the lifecycle)

1 Like

How it works is if a player has lets say 20 cash and the limit is 1000, then on knockout the player will gain 1000 cash. This will overflow so the player will drop 20 cash, the amount their originally had. Then right after that, you have the item manager clear that item from the players inventory. I hope this explains it better.

If this works, meaning player can item manager can still work when player is knocked out, that would mean bird’s solution also works, and it requires less memory