Blacklist Headless - Theseus-Aegis/MissionTemplate GitHub Wiki

This page will explain the usage of the Blacklist Headless function.


/*
 * Author: Mike
 * Wrapper for Headless client blacklisting groups and units.
 *
 * Call from initServer on mission start.
 *
 * Arguments:
 * 0: Groups or Units <ARRAY>
 *
 * Return Value:
 * None
 *
 * Examples:
 * [[My_Group_1, My_Unit_1]] call MFUNC(blacklistHeadless)
 */

Usage:

This function is used to blacklist certain units or groups from being controlled by the headless client. It should be ran on the server at mission start only.

This function can take a mixture of single units & groups.

Example:

[[My_Group_1, My_Unit_1]] call MFUNC(blacklistHeadless);
⚠️ **GitHub.com Fallback** ⚠️