-
Notifications
You must be signed in to change notification settings - Fork 1
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);
*/
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
Pages
- Home
- Your First Mission
- Creating A Mission
- Contract Missions
- Difficulty Guidelines
-
Functions Library
- Base Spectator
- Bomber
- Car Alarm
- Chemical Detector
- Collect Intel
- Connect Battery To Defusable
- Contamination Gas
- Count Alive
- Dialogue
- Disable AI
- Download Intel
- Earthquake
- Enable AI
- Force Shooting
- Ground Fog
- Hunt
- Lock Doors
- Mark Buildings
- Monitor Units
- Mortar Strike
- Ping
- Players
- Reaction
- Reinforcements
- Reinforcement Waves
- Respirator Effects
- Set Sleeping
- Sound Source
- Surrender
- Switch Action
- Teleport
- Toggle Lights
- Trigger Area
- Helicopters
- Resources
- Quality Checklist
- Useful Commands
- ArmaQDL