05-17-2015, 04:51 PM
Okay I found this code below for gathering, but how would I need to separate each task? Is it after these }; and then I put [1] = { for the next task? Also how do you find the value for x, y, and z?
-- Persistent Data
local multiRefObjects = {
} -- multiRefObjects
local obj1 = {
["tasks"] = {
-- Inventory Based Count
[0] = {
["mode"] = "Gather";
["markerType"] = "botanyMarker";
["marker"] = "Test 1";
["useStealth"] = "1";
["itemId"] = 5380;
["itemCount"] = 50;
["gearset"] = 2;
["gatherItemName"] = "Maple Log";
["location"] = {
["map"] = 148;
["mesh"] = "Central Shroud";
["x"] = 76.23959350586;
["y"] = 4.3239574432373;
["z"] = -196.32092285156;
};
};
-- Persistent Data
local multiRefObjects = {
} -- multiRefObjects
local obj1 = {
["tasks"] = {
-- Inventory Based Count
[0] = {
["mode"] = "Gather";
["markerType"] = "botanyMarker";
["marker"] = "Test 1";
["useStealth"] = "1";
["itemId"] = 5380;
["itemCount"] = 50;
["gearset"] = 2;
["gatherItemName"] = "Maple Log";
["location"] = {
["map"] = 148;
["mesh"] = "Central Shroud";
["x"] = 76.23959350586;
["y"] = 4.3239574432373;
["z"] = -196.32092285156;
};
};