2015-03-08 16:13:17 +00:00
|
|
|
/*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Author: Glowbal
|
|
|
|
* Action for checking the blood pressure of the patient
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: The medic <OBJECT>
|
|
|
|
* 1: The patient <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [bob, kevin] call ACE_medical_fnc_actionCheckBloodPressure
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
2015-03-12 20:16:49 +00:00
|
|
|
|
2015-03-08 16:13:17 +00:00
|
|
|
#include "script_component.hpp"
|
2015-03-12 20:16:49 +00:00
|
|
|
|
2015-08-29 21:49:58 +00:00
|
|
|
params ["_caller", "_target", "_selectionName"];
|
2016-02-18 01:54:43 +00:00
|
|
|
if (local _target) then {
|
2016-06-03 18:57:21 +00:00
|
|
|
[QGVAR(actionCheckBloodPressureLocal), [_caller, _target, _selectionName]] call CBA_fnc_localEvent;
|
2016-02-18 01:54:43 +00:00
|
|
|
} else {
|
2016-06-03 18:57:21 +00:00
|
|
|
[QGVAR(actionCheckBloodPressureLocal), [_caller, _target, _selectionName], _target] call CBA_fnc_targetEvent;
|
2016-02-18 01:54:43 +00:00
|
|
|
};
|