ACE3/addons/spectator/functions/fnc_players.sqf
SilentSpike d3ce75daef Spectator overhaul (#5171)
- Overhauls the spectator module entirely to share a similar UX to BI's "End Game Spectator" while maintaining some of the extended flexibility of ACE Spectator.
- Simplifies spectator setup by reducing the number of settings. More advanced setup is still possible via the API functions provided.
2017-08-12 14:25:48 +01:00

20 lines
331 B
Plaintext

/*
* Author: SilentSpike
* Return all of the player entities who are currently in ace spectator
*
* Arguments:
* None
*
* Return Value:
* Spectator Players <ARRAY>
*
* Example:
* [] call ace_spectator_fnc_players
*
* Public: Yes
*/
#include "script_component.hpp"
allPlayers select { GETVAR(_x,GVAR(isSet),false) }