mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
bddf74cbb4
* Add Variable Range for Camera Users (Zeus, Spectator) + Settings Add Setting to Disable Zeus and/or Spectator Map Draws Add Ability to use Map Gestures on Briefing screen Add Setting for Briefing Screen mode (All, Only Group, Only Side, Proximity, Disabled) * disable DISABLE_COMPILE_CACHE * minor cleanup and add some translations Co-authored-by: PabstMirror <pabstmirror@gmail.com>
24 lines
533 B
Plaintext
24 lines
533 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: joko // Jonas
|
|
* Binds Draw EventHandlers to Zeus map.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* _mapCtrl call ace_map_gestures_fnc_initDisplayCurator
|
|
*
|
|
* Public: No
|
|
*/
|
|
params ["_mapCtrl"];
|
|
TRACE_1("initDisplayCurator",_mapCtrl);
|
|
|
|
_mapCtrl ctrlAddEventHandler ["Draw", {
|
|
if (!GVAR(allowCurator)) exitWith {};
|
|
[_this select 0, [[ACE_player, GVAR(maxRange)], [positionCameraToWorld [0, 0, 0], GVAR(maxRangeCamera)]]] call FUNC(drawMapGestures);
|
|
}];
|