Ceeeb
In OFP v1.96, combatMode return value does not change when unit's combat mode is set with radio commands, i.e troops under the player's command.
Results appear below as you type; use the arrow keys to move through them.
Command · also in AI Behaviour · Markdown · JSON · original wiki page
Returns the combat mode of the given AI group. See setCombatMode for more information about combat modes.
combatMode group
Parameters:
Returns: String - one of:
if (combatMode _grp1 == "BLUE") then {_grp1 setCombatMode "GREEN"};
Combat Modes · setCombatMode · behaviour · setBehaviour · skill · setSkill · Arma 3: AI Skill · setUnitCombatMode · unitCombatMode · setCombatBehaviour · combatBehaviour
In OFP v1.96, combatMode return value does not change when unit's combat mode is set with radio commands, i.e troops under the player's command.