- Improved OPSTRANSPORT for LEGION assets.
This commit is contained in:
Frank
2021-09-22 19:27:33 +02:00
parent c5af279730
commit d7dae1366d
11 changed files with 631 additions and 158 deletions

View File

@@ -22,6 +22,7 @@
-- @field #string name Name of the cohort.
-- @field #string templatename Name of the template group.
-- @field #string aircrafttype Type of the units the cohort is using.
-- @field #number category Group category of the assets: `Group.Category.AIRPLANE`, `Group.Category.HELICOPTER`, `Group.Category.GROUND`, `Group.Category.SHIP`, `Group.Category.TRAIN`.
-- @field Wrapper.Group#GROUP templategroup Template group.
-- @field #table assets Cohort assets.
-- @field #table missiontypes Capabilities (mission types and performances) of the cohort.
@@ -124,6 +125,9 @@ function COHORT:New(TemplateGroupName, Ngroups, CohortName)
-- Generalized attribute.
self.attribute=self.templategroup:GetAttribute()
-- Group category.
self.category=self.templategroup:GetCategory()
-- Aircraft type.
self.aircrafttype=self.templategroup:GetTypeName()