Class DESTROYGROUPSTASK
DESTROYGROUPSTASK
Tables
| DESTROYGROUPSTASK.DESTROYGROUPSTASK | To monitor and score the destruction of Groups in the DCSRTE. |
Methods
| DESTROYGROUPSTASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupNames, DestroyPercentage) | Creates a new DESTROYGROUPSTASK. |
| DESTROYGROUPSTASK:ReportGoalProgress (DestroyGroup, DestroyUnit) | Report Goal Progress. |
Tables
- DESTROYGROUPSTASK.DESTROYGROUPSTASK
-
To monitor and score the destruction of Groups in the DCSRTE.
Fields:
- ClassName
- GoalVerb
Methods
- DESTROYGROUPSTASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupNames, DestroyPercentage)
-
Creates a new DESTROYGROUPSTASK.
Parameters:
- DestroyGroupType
string
String describing the group to be destroyed. - DestroyUnitType
string
String describing the unit to be destroyed. - DestroyGroupNames
table{string,...}
Table of string containing the name of the groups to be destroyed before task is completed. - DestroyPercentage optional number defines the %-tage that needs to be destroyed to achieve mission success. eg. If in the Group there are 10 units, then a value of 75 would require 8 units to be destroyed from the Group to complete the TASK.
Returns:
- DestroyGroupType
string
- DESTROYGROUPSTASK: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.
- DestroyGroup
Group