MissionScriptingTools/Example DBs/mist_DBs_removedAliveUnits.lua
mrSkortch 388d218b4e Build 101. Bug fixes mostly
Changed mist.marker.list to mist.DBs.markList
Added markType and type as valid in mist.marker.add for the type Id
Added mist.groupIsDead function
Removed a log entry I left in.
Updated DB examples.
2021-08-23 03:27:26 -06:00

356 lines
7.4 KiB
Lua

removedAliveUnits =
{
[16789504] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287036.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16789504,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #005",
["heading"] = 0,
["unitId"] = 55,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287036.85714286,
["type"] = "Hawk ln",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.870754241943,
["x"] = -287036.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16789504]
[16789760] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287076.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16789760,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #006",
["heading"] = 0,
["unitId"] = 56,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287076.85714286,
["type"] = "Hawk ln",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.792644500732,
["x"] = -287076.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16789760]
[16790016] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287116.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16790016,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #007",
["heading"] = 0,
["unitId"] = 57,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287116.85714286,
["type"] = "Hawk ln",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.768741607666,
["x"] = -287116.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16790016]
[16790272] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287156.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16790272,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #008",
["heading"] = 0,
["unitId"] = 58,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287156.85714286,
["type"] = "Hawk cwar",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.752384185791,
["x"] = -287156.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16790272]
[16782848] =
{
["point"] =
{
["y"] = 654585.71428571,
["x"] = -292882.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16782848,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs2",
["heading"] = -1.7994767003775,
["unitId"] = 28,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292882.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 654585.71428571,
["pos"] =
{
["y"] = 11.896243705612,
["x"] = -292885.8154643,
["z"] = 654581.81480703,
}, -- end of ["pos"]
}, -- end of [16782848]
[16783104] =
{
["point"] =
{
["y"] = 654625.71428571,
["x"] = -292922.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783104,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs3",
["heading"] = -1.7994767003775,
["unitId"] = 29,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292922.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 654625.71428571,
["pos"] =
{
["y"] = 11.927206059256,
["x"] = -292936.5144784,
["z"] = 654619.49063824,
}, -- end of ["pos"]
}, -- end of [16783104]
[16783360] =
{
["point"] =
{
["y"] = 654665.71428571,
["x"] = -292962.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783360,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs4",
["heading"] = -1.7994767003775,
["unitId"] = 30,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292962.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 654665.71428571,
["pos"] =
{
["y"] = 11.942705180761,
["x"] = -292999.01167319,
["z"] = 654661.6137778,
}, -- end of ["pos"]
}, -- end of [16783360]
[16788736] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -286916.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16788736,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #002",
["heading"] = 0,
["unitId"] = 52,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -286916.85714286,
["type"] = "Hawk tr",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 35.254570007324,
["x"] = -286916.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16788736]
[16788992] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -286956.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16788992,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #003",
["heading"] = 0,
["unitId"] = 53,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -286956.85714286,
["type"] = "Hawk sr",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 35.099452972412,
["x"] = -286956.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16788992]
[16789248] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -286996.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16789248,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #004",
["heading"] = 0,
["unitId"] = 54,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -286996.85714286,
["type"] = "Hawk pcp",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.948871612549,
["x"] = -286996.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16789248]
[16782592] =
{
["point"] =
{
["y"] = 654545.71428571,
["x"] = -292842.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16782592,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs1",
["heading"] = -1.7994767003775,
["unitId"] = 27,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292842.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 654545.71428571,
["pos"] =
{
["y"] = 11.750308354347,
["x"] = -292852.11861931,
["z"] = 654539.33966137,
}, -- end of ["pos"]
}, -- end of [16782592]
} -- end of removedAliveUnits