mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Map Gestures - Rewrite and Add Zeus, and Spectator support (#7653)
* Initial Rewrite * improve getProximityPlayers * add Zeus Implementation * fix missing simicolon * add Spectator Support * improve local responsiveness * add Vanilla Spectator Support * Fix Both Spectators are now working correctly * exit mouse moving event early when disabled * Move Diary Event registration to XEH DisplayLoaded Port Settings to SQF Add Setting for only showing Friendly Units pointing * Fix Merge Issue in Stringtable Redo Settings * fix a copy past script error * Update addons/map_gestures/functions/fnc_getProximityPlayers.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Lazy evals and defines * Small changes * Simplify initDisplayDiary and fix loading saves * Cache getProximityPlayers Improve Vanilla Spectator Support and how Followed unit Nearby data * Minor header update Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
@ -19,8 +19,13 @@ params ["_display"];
|
||||
|
||||
uiNamespace setVariable [QGVAR(display), _display];
|
||||
|
||||
if (["ace_map_gestures"] call EFUNC(common,isModLoaded)) then {
|
||||
[_display displayCtrl IDC_MAP] call EFUNC(map_gestures,initDisplaySpectator);
|
||||
};
|
||||
|
||||
[QGVAR(displayLoaded), _display] call CBA_fnc_localEvent;
|
||||
|
||||
|
||||
// Handle ACRE2 Toggle Spectator (if present)
|
||||
if (!isNil "acre_api_fnc_addDisplayPassthroughKeys") then {
|
||||
[_display] call acre_api_fnc_addDisplayPassthroughKeys;
|
||||
|
Reference in New Issue
Block a user