Skip to content

Commit

Permalink
Add Hunt groups to monitor units
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF committed Dec 19, 2023
1 parent a1307e6 commit a0c53ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/mission/functions/fnc_monitorUnits.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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]
};
};

0 comments on commit a0c53ad

Please sign in to comment.