Class DESTROYUNITTYPESTASK
Set TASK to destroy certain unit types.
Methods
| DESTROYUNITTYPESTASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupNames, DestroyUnitTypes) | Creates a new DESTROYUNITTYPESTASK. |
| DESTROYUNITTYPESTASK:ReportGoalProgress (DestroyGroup, DestroyUnit) | Report Goal Progress. |
Methods
- DESTROYUNITTYPESTASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupNames, DestroyUnitTypes)
-
Creates a new DESTROYUNITTYPESTASK.
Parameters:
- DestroyGroupType string String describing the group to be destroyed. f.e. "Radar Installations", "Fleet", "Batallion", "Command Centers".
- DestroyUnitType string String describing the unit to be destroyed. f.e. "radars", "ships", "tanks", "centers".
- DestroyGroupNames table{string,...} Table of string containing the group names of which the radars are be destroyed.
- DestroyUnitTypes string Table of string containing the type names of the units to achieve mission success.
Returns:
- DESTROYUNITTYPESTASK:ReportGoalProgress (DestroyGroup, DestroyUnit)
-
Report Goal Progress.
Parameters:
- DestroyGroup Group Group structure describing the group to be evaluated.
- DestroyUnit Unit Unit structure describing the Unit to be evaluated.