2015-08-16 21:52:37 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2018-01-17 11:36:10 +00:00
|
|
|
["ace_unconscious", {_this call FUNC(handleUnconscious)}] call CBA_fnc_addEventHandler;
|
2016-06-21 23:39:20 +00:00
|
|
|
["vehicle", {
|
|
|
|
params ["_unit"];
|
|
|
|
[_unit] call FUNC(dropAmmo);
|
|
|
|
}] call CBA_fnc_addPlayerEventHandler;
|
2016-02-19 16:32:02 +00:00
|
|
|
|
|
|
|
if (isServer) then {
|
|
|
|
addMissionEventHandler ["HandleDisconnect", {params ["_unit"]; [_unit] call FUNC(dropAmmo)}];
|
|
|
|
};
|
2016-03-06 10:14:34 +00:00
|
|
|
|
2018-01-17 11:36:10 +00:00
|
|
|
[QGVAR(makeDummyEH), FUNC(makeDummy)] call CBA_fnc_addEventHandler;
|
|
|
|
[QGVAR(rearmEntireVehicleSuccessLocalEH), FUNC(rearmEntireVehicleSuccessLocal)] call CBA_fnc_addEventHandler;
|
|
|
|
[QGVAR(rearmSuccessLocalEH), FUNC(rearmSuccessLocal)] call CBA_fnc_addEventHandler;
|