Assuming this is what the current combatMode command does (sample SQF, for simplicity):
```
if !(_this isEqualType grpNull) then { //if param is a unit, change it into unit's group
_this = group param
};
_this getVariable "CombatMode"
```
, this is what it should become:
```
_this getVariable "CombatMode" //combat mode, whether the paramter is a group or a single unit
```