i think i already asked this somewhere.
But i cant find it anymore.
is there any way to "convert" your inventroy into an airdrop?
so all items that u got on you , copy / or take out for the airdrop ?
what method is there beeing used anyway?
Convert inventory to airdrop?
Discussion in 'Rust Development' started by Crushed, Oct 17, 2017.
-
Hmm, could u explain it a bit deeper, u want to make a loot table for airdrop from ur inventory, or what?
-
well, sry . just dont know really how the airdrops work, i achieved to call planes and modify their fly route , but never looked into the airdrops thing.
what i want is sounding pretty simple , probably more then it rly is.
- that u can call a plane with a command, that drops a supply that contains that, what your inventory contained as the command was executed.
so basically , dumping your inventory in a box and let the plane drop that as an airdrop . -
1) Setup your source container with some kind of command (to use it's inventory later)
2) With the OnLootEntity() hook, detect if the player is looting a " SupplyDrop" type entity. If yes, during the first event, replace the inventory frome the supply drop with the container inventory set on 1)