Skip to content

Monitor Units

Mike-MF edited this page Dec 30, 2022 · 2 revisions

This page will explain the usage of the Monitor Units function.


/*
 * Author: Mike
 * Used to check AI count from Debug watch field.
 * Call from Debug watch field
 *
 * Use 0 for general unit counting
 * Use 1 for Active, Inactive & Agents unit counting
 *
 * Arguments:
 * 0: Count Type (default: 0)
 *
 * Return Value:
 * Report <STRING>
 *
 * Example:
 * [0] call TAC_Mission_fnc_monitorUnits
 */

Usage

This function is designed as a testing tool to help with AI Counts.

By default (0) the values counted are how many alive units are on each side and how many players.

The alternative mode (1) will count "Active" and "Inactive" AI and agents. An inactive AI is one marked as reinforcements.

Call from Debug Console watch field

Example:

[1] call TAC_Mission_fnc_MonitorUnits;
Clone this wiki locally