From 252663fd815d82871b588de0af4db6834dd19293 Mon Sep 17 00:00:00 2001 From: Glowbal Date: Sun, 8 Mar 2015 17:13:17 +0100 Subject: [PATCH] Readded checkBloodPressure and checkPulse actions. --- .../functions/fnc_actionCheckBloodPressure.sqf | 18 ++++++++++++++++++ .../medical/functions/fnc_actionCheckPulse.sqf | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 addons/medical/functions/fnc_actionCheckBloodPressure.sqf create mode 100644 addons/medical/functions/fnc_actionCheckPulse.sqf diff --git a/addons/medical/functions/fnc_actionCheckBloodPressure.sqf b/addons/medical/functions/fnc_actionCheckBloodPressure.sqf new file mode 100644 index 0000000000..7db155483e --- /dev/null +++ b/addons/medical/functions/fnc_actionCheckBloodPressure.sqf @@ -0,0 +1,18 @@ +/* +* Author: Glowbal +* Action for checking the blood pressure of the patient +* +* Arguments: +* 0: The medic +* 1: The patient +* +* Return Value: +* NONE +* +* Public: No +*/ +#include "script_component.hpp" +private ["_caller","_target"]; +_caller = _this select 0; +_target = _this select 1; +[[_caller, _target], QUOTE(DFUNC(actionCheckBloodPressureLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */ diff --git a/addons/medical/functions/fnc_actionCheckPulse.sqf b/addons/medical/functions/fnc_actionCheckPulse.sqf new file mode 100644 index 0000000000..9fa79b2183 --- /dev/null +++ b/addons/medical/functions/fnc_actionCheckPulse.sqf @@ -0,0 +1,18 @@ +/* +* Author: Glowbal +* Action for checking the pulse or heart rate of the patient +* +* Arguments: +* 0: The medic +* 1: The patient +* +* Return Value: +* NONE +* +* Public: No +*/ +#include "script_component.hpp" +private ["_caller","_target","_title","_content"]; +_caller = _this select 0; +_target = _this select 1; +[[_caller, _target], QUOTE(DFUNC(actionCheckPulseLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */