mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
444 B
Plaintext
21 lines
444 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", { [_this select 0, [ACE_player, positionCameraToWorld [0, 0, 0]]] call FUNC(drawMapGestures);}];
|