Skip to content

Base Spectator

Mike-MF edited this page Dec 24, 2022 · 3 revisions

This page will explain the usage of the Base Spectator function.


/*
 * Author: Jonpas
 * Adds dynamic spectator availability through CBA Chat Commands and ACE3 Interaction Menu.
 * Call from initPlayerLocal.sqf.
 *
 * Arguments:
 * 0: Player <OBJECT>
 * 1: Spectator Object <OBJECT>
 *
 * Return Value:
 * None
 *
 * Example:
 * [player, spectatorObject] call MFUNC(baseSpectator);
 * [player, spectatorObject2] call MFUNC(baseSpectator);
 */

Usage

The spectator function requires an object to be ACE interacted with, multiple spectator screens can be set up and by default the template already has one.

It can be useful for PvP missions or campaigns with multiple FOBs.

Example:

[player, spectatorObject] call MFUNC(baseSpectator);
[player, spectatorObject2] call MFUNC(baseSpectator);

Will need to be called from initPlayerLocal.sqf

Clone this wiki locally