mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fa77fb7194
* Fixed medication (morphine, epinephrine, ...) * Fixed CPR * Improved heart rate simulation * Removed deprecated ace settings
23 lines
373 B
Plaintext
23 lines
373 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
* Called when a unit is killed
|
|
*
|
|
* Arguments:
|
|
* 0: The Unit <OBJECT>
|
|
*
|
|
* ReturnValue:
|
|
* None
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
params ["_unit"];
|
|
|
|
if (!local _unit) exitWith {};
|
|
|
|
_unit setVariable [QGVAR(pain), 0, true];
|
|
_unit setVariable [QGVAR(heartRate), 0, true];
|
|
_unit setVariable [QGVAR(bloodPressure), [0, 0], true];
|