#include "script_component.hpp" /* * Author: SilentSpike * Handles a unit reaching the point of death. * * Arguments: * 0: The Unit * * Return Value: * None * * Public: No */ params ["_unit"]; // TODO: Probably also needs additional logic to deal with edge cases // Send a local event before death [QEGVAR(medical,death), [_unit]] call CBA_fnc_localEvent; _unit setDamage 1;