Thanks, I'm also now looking into your Power Balance script (Spooner pointed it out). Is this correst for multiple triggers, cause it keeps counting units in the trigger tr_2.
checkbalance.sqf
_balance = [tr_1, 10, 20, 1, 2, 1] call mando_getbalance
_balance = [tr_2, 10, 20, 1, 2, 1] call mando_getbalance
;Time to show the results
hint format["Trigger's area power distribution:\n\nBLUFOR power: %1\nOFPOR power: %2\nIndependent power: %3\nCivilian power: %4\n\nBLUFOR ratio: %5\nOPFOR ratio: %6\nIndependent ratio: %7\nCivilian ratio: %8\n\nWinners: %9", _balance select 0,_balance select 1,_balance select 2,_balance select 3,_balance select 4,_balance select 5,_balance select 6,_balance select 7,_balance select 8]
exit