10-28-2015, 06:44 PM
Not sure what I am doing wrong, other than I have no idea why this doesn't work or what the dev tool is spitting out at me. So it moves to the first location, farms both nodes, and then stops. Wont go to another location.
Code:
local obj1 = {
["tasks"] = {
[1] = {
["type"] = "mining";
["whitelist"] = "2";
["radius"] = 50;
["minlevel"] = 55;
["maxlevel"] = 60;
["item1"] = "Hardsilver Sand";
["mapid"] = 400;
["pos"] = {
["x"] = 315.52;
["y"] = -31.78;
["z"] = -226.24;
["h"] = 2.38;
};
};
[2] = {
["type"] = "mining";
["whitelist"] = "2";
["radius"] = 50;
["minlevel"] = 55;
["maxlevel"] = 60;
["item1"] = "Hardsilver Sand";
["mapid"] = 400;
["pos"] = {
["x"] = 315.20;
["y"] = -31.58;
["z"] = -96.58;
["h"] = 0.43;
};
};
[3] = {
["type"] = "mining";
["whitelist"] = "2";
["radius"] = 50;
["minlevel"] = 55;
["maxlevel"] = 60;
["item1"] = "Hardsilver Sand";
["mapid"] = 400;
["pos"] = {
["x"] = 141.21;
["y"] = -37.98;
["z"] = -150.21;
["h"] = -1.93;
};
};
};
}