2015-03-08 16:13:17 +00:00
|
|
|
/*
|
|
|
|
* Author: Glowbal
|
|
|
|
* Action for checking the pulse or heart rate of the patient
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: The medic <OBJECT>
|
|
|
|
* 1: The patient <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
2015-08-22 14:25:10 +00:00
|
|
|
* None
|
2015-03-08 16:13:17 +00:00
|
|
|
*
|
|
|
|
* 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 {
|
|
|
|
["actionCheckPulseLocal", [_caller, _target, _selectionName]] call EFUNC(common,localEvent);
|
|
|
|
} else {
|
|
|
|
["actionCheckPulseLocal", _target, [_caller, _target, _selectionName]] call EFUNC(common,targetEvent);
|
|
|
|
};
|