Difference between revisions of "Template:Mist makeUnitNames"

From DCS World Wiki - Hoggitworld.com
(Created page with "UnitNameTables are a table format used within mist. Quite literally it is a table indexed numerically with unit names. There are two functons that can be used to generate the...")
 
(No difference)

Latest revision as of 10:48, 24 August 2021

UnitNameTables are a table format used within mist. Quite literally it is a table indexed numerically with unit names. There are two functons that can be used to generate the table: mist.makeUnitTable and mist.getUnitsByAttribute

  {"unit1", "unit2", "unit3"}

or written as:

  {
    [1] = "unit1",
    [2] = "unit2",
    [3] = "unit3",
  }