Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Transfer items from one container to another - Example please?

$
0
0
Here is a method I've wrote, it's missing the code to transfer items from container to container[k].
Please could you write in the simplest way to transfer all of one containers inventory to another container with the room, as in the missing section below.

Code:
private void take(string take)
{
    int droneStorageContainers = 16;
    if(take == "all")
    {
        List<IMyTerminalBlock> container = new List<IMyTerminalBlock>{};...


Transfer items from one container to another - Example please?

Viewing all articles
Browse latest Browse all 645

Trending Articles