This commit is contained in:
jodav
2015-01-12 14:54:36 +01:00
parent bb194e6e93
commit f3427938b3
27 changed files with 423 additions and 0 deletions

View File

@ -0,0 +1,23 @@
/*
Name: AGM_SwitchUnits_fnc_addMapFunction
Author(s):
bux578
Description:
Adds a mapClick Eventhandler
Parameters:
0: OBJECT - unit
1: ARRAY<OBJECT> - sided
Returns:
VOID
*/
private ["_unit"];
_unit = _this select 0;
["theMapClick", "onMapSingleClick", {
[_this, _pos, _shift, _alt] call AGM_SwitchUnits_fnc_handleMapClick;
}, [_unit, _sides]] call BIS_fnc_addStackedEventHandler;