If you set a player lead group's combatMode to for example "BLUE", "GREEN" or "WHITE" either in a unit's init field on in a 'initial' waypoint the player also get's set into this mode, and after that combatMode will always return that set mode for the group no matter what you order the AI to change into.
Of course the AI will act as instructed and will fire at will etc but the scripting command combatMode will return the combat mode the player has been stuck into..
The only way to fix this is to set the group's combatmode via scripting again. {F27014}