ACE3/addons/spectator/XEH_preInit.sqf

35 lines
635 B
Plaintext
Raw Normal View History

2015-06-29 02:34:21 +00:00
#include "script_component.hpp"
ADDON = false;
2015-07-15 11:11:19 +00:00
PREP(handleCamera);
2015-07-15 11:03:54 +00:00
PREP(handleInterface);
2015-07-04 23:49:47 +00:00
PREP(handleKilled);
2015-07-15 11:11:19 +00:00
PREP(handleMouse);
2015-07-04 23:49:47 +00:00
PREP(handleRespawn);
2015-07-18 15:20:19 +00:00
PREP(handleUnits);
2015-07-17 15:02:38 +00:00
PREP(moduleSpectatorSettings);
PREP(setSpectator);
2015-07-18 14:52:44 +00:00
PREP(updateCamera);
2015-07-18 14:42:07 +00:00
PREP(updateInterface);
2015-07-15 13:58:38 +00:00
PREP(updateUnits);
2015-07-18 14:52:44 +00:00
// Permanent variables
GVAR(camMode) = 0;
GVAR(camPan) = 0;
GVAR(camPos) = getPos cameraOn;
GVAR(camUnit) = objNull;
2015-06-29 02:34:21 +00:00
2015-07-18 14:42:07 +00:00
GVAR(showComp) = true;
GVAR(showHelp) = true;
GVAR(showInterface) = true;
GVAR(showMap) = false;
GVAR(showTool) = true;
GVAR(showUnit) = true;
2015-07-16 10:15:33 +00:00
GVAR(unitList) = [];
GVAR(unitBlacklist) = [];
GVAR(unitWhitelist) = [];
2015-07-04 23:10:01 +00:00
ADDON = true;