Template:Mist makeUnitNames

From DCS World Wiki - Hoggitworld.com
Revision as of 10:48, 24 August 2021 by Grimes (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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",
  }