First, to use this i need to explain the function first:
All bps that you are using need to be in LootingCode:depotaction('MAINDPBPNAME', 'MAINLOOTBP', {'LOOTCATEROGYSTACK','STACKITEMSBPINDP','LOOTCATEGORYNONSTACK','NOSTACKITEMSBPINDP'})
MAINDPBPNAME = A main depot Backpack in Depot Chest
MAINLOOTBP = Your loot BP in MainBackpack
LOOTCATEGORYSTACK = (Followed by below image, this will be the category 'a'
STACKITEMSBPINDP = Your stackitems in MAINDPBPNAME
LOOTCATEGORYNONSTACK = (Followed by image below, this will be the category 'b'
Well as you see, i will show below the Looting configuration
In a more complex you need to follow the above configuration.
Lets show you the function with the used BPs:
What the function do:Code:depotaction('maindpbp', 'lootbp', {'a','stackitemsdpbp','b','nostackitemsdpbp'})
Code:depotaction('Brown Bag', 'Camouflage Backpack', {'a','Red Backpack','b','Grey Backpack'})
Note that the content in {} tags, are an array, you could put infinite categories.
The function will automatically find the closest depot, and open Locker, then open Depot Chest, open Brown Bag then Move Items automatically!!
Well, i don't know if i posted in the correctly, i'm undecided that should be Tutorial of Bot, of Scripting Tutorial
But thanks for all, I hope I've been clear!!