ACE3/addons/medical/functions/fnc_actionCheckPulse.sqf

23 lines
510 B
Plaintext
Raw Normal View History

/*
* 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
*
* 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-05-24 13:13:11 +00:00
["ace_actionCheckPulseLocal", [_caller, _target, _selectionName]] call CBA_fnc_localEvent;
2016-02-18 01:54:43 +00:00
} else {
2016-05-24 13:13:11 +00:00
["ace_actionCheckPulseLocal", [_caller, _target, _selectionName], _target] call CBA_fnc_targetEvent;
2016-02-18 01:54:43 +00:00
};