ACE3/addons/medical/functions/fnc_actionCheckBloodPressure.sqf

23 lines
524 B
Plaintext
Raw Normal View History

/*
* Author: Glowbal
* Action for checking the blood pressure of the patient
*
* Arguments:
* 0: The medic <OBJECT>
* 1: The patient <OBJECT>
*
* Return Value:
2015-08-22 14:25:10 +00:00
* None
*
* Public: No
*/
2015-03-12 20:16:49 +00:00
#include "script_component.hpp"
2015-03-12 20:16:49 +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
};