mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
12 lines
511 B
Plaintext
12 lines
511 B
Plaintext
|
#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);
|
||
|
if (_unit getvariable[QEGVAR(common,unconscious_non_captive_f),false]) then {
|
||
|
_unit setCaptive false;
|
||
|
_unit setvariable[QEGVAR(common,unconscious_non_captive_f),nil];
|
||
|
};
|