ACE3/addons/spectator/XEH_preInit.sqf
SilentSpike 85c5fbabe9 Remove locations tab from spectator (#5431)
* Fix incorrect function input for spectator hiding
* Remove locations tab from spectator

- Doesn't add much value, adds complexity and the implementation is half
baked. Would rather add back in at a later date (if at all) with a
better implementation.
- I have an idea to replace the locations tab with a meta tab so users
can toggle things like projectile drawing via the UI and are not forced
to use a hotkey. Might also be a good place to display the extended controls.
2017-08-17 12:50:43 +01:00

21 lines
464 B
Plaintext

#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// Used by public functions
GVAR(availableModes) = [MODE_FREE, MODE_FPS, MODE_FOLLOW];
GVAR(availableSides) = [west,east,resistance,civilian];
GVAR(availableVisions) = [VISION_NORM,VISION_NVG,0,1];
GVAR(interrupts) = [];
GVAR(unitBlacklist) = [];
GVAR(unitWhitelist) = [];
// Tracks whether spectator is active
GVAR(isSet) = false;
ADDON = true;