2015-01-18 21:16:35 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
private["_unit"];
|
|
|
|
_unit = _this select 0;
|
|
|
|
if (!local _unit) exitwith {};
|
|
|
|
[_unit, QGVAR(amountOfPain),0,true] call EFUNC(common,setDefinedVariable);
|
|
|
|
[_unit, QGVAR(heartRate),0,true] call EFUNC(common,setDefinedVariable);
|
|
|
|
[_unit, QGVAR(bloodPressure), [0,0],true] call EFUNC(common,setDefinedVariable);
|
2015-02-14 19:29:07 +00:00
|
|
|
if (_unit getvariable[QEGVAR(common,unconscious_non_captive),false]) then {
|
2015-01-18 21:16:35 +00:00
|
|
|
_unit setCaptive false;
|
2015-02-14 19:29:07 +00:00
|
|
|
_unit setvariable[QEGVAR(common,unconscious_non_captive),nil];
|
2015-01-18 21:16:35 +00:00
|
|
|
};
|