From a0c53ad9a5663f119a4df3788e350743606b73f3 Mon Sep 17 00:00:00 2001 From: Mike-MF Date: Tue, 19 Dec 2023 15:40:51 +0000 Subject: [PATCH] Add Hunt groups to monitor units --- addons/mission/functions/fnc_monitorUnits.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mission/functions/fnc_monitorUnits.sqf b/addons/mission/functions/fnc_monitorUnits.sqf index bcc62109..87e1f323 100644 --- a/addons/mission/functions/fnc_monitorUnits.sqf +++ b/addons/mission/functions/fnc_monitorUnits.sqf @@ -5,7 +5,7 @@ * Call from Debug watch field * * Use 0 for general unit counting - * Use 1 for Active, Inactive & Agents unit counting + * Use 1 for Active, Inactive, Hunt groups & Agents unit counting * * Arguments: * 0: Count Type (default: 0) @@ -30,6 +30,6 @@ switch (_type) do { case 1: { private _active = count (allUnits select {simulationEnabled _x}) - count playableUnits; private _inactive = count (allUnits select {!simulationEnabled _x}); - format ["Active: %1|Inactive: %2|Agents: %3|FPS: %4", _active, _inactive, count agents, diag_fps] + format ["Active: %1|Inactive: %2|Hunt Groups: %3|Agents: %4|FPS: %5", _active, _inactive, count GVAR(huntGroups), count agents, diag_fps] }; };