mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
add medic param to remaining treatment EHs
This commit is contained in:
parent
b2a3fac4b6
commit
597c167801
@ -29,4 +29,4 @@ params ["_medic", "_patient", "_bodyPart", "_classname", "", "", "", "_bandageEf
|
||||
|
||||
[_patient, "activity", LSTRING(Activity_bandagedPatient), [[_medic, false, true] call EFUNC(common,getName)]] call FUNC(addToLog);
|
||||
|
||||
[QGVAR(bandageLocal), [_patient, _bodyPart, _classname, _bandageEffectiveness], _patient] call CBA_fnc_targetEvent;
|
||||
[QGVAR(bandageLocal), [_patient, _bodyPart, _classname, _bandageEffectiveness, _medic], _patient] call CBA_fnc_targetEvent;
|
||||
|
@ -25,4 +25,4 @@ params ["_medic", "_patient", "_bodyPart", "_classname", "", "_usedItem"];
|
||||
[_patient, _usedItem] call FUNC(addToTriageCard);
|
||||
[_patient, "activity", LSTRING(Activity_gaveIV), [[_medic, false, true] call EFUNC(common,getName)]] call FUNC(addToLog);
|
||||
|
||||
[QGVAR(ivBagLocal), [_patient, _bodyPart, _classname], _patient] call CBA_fnc_targetEvent;
|
||||
[QGVAR(ivBagLocal), [_patient, _bodyPart, _classname, _medic], _patient] call CBA_fnc_targetEvent;
|
||||
|
@ -26,4 +26,4 @@ params ["_medic", "_patient", "_bodyPart", "_classname", "", "_usedItem"];
|
||||
private _cfg = ["CfgWeapons", "CfgMagazines"] select (isClass (configFile >> "CfgMagazines" >> _usedItem));
|
||||
[_patient, "activity", LSTRING(Activity_usedItem), [[_medic, false, true] call EFUNC(common,getName), getText (configFile >> _cfg >> _usedItem >> "displayName")]] call FUNC(addToLog);
|
||||
|
||||
[QGVAR(medicationLocal), [_patient, _bodyPart, _classname], _patient] call CBA_fnc_targetEvent;
|
||||
[QGVAR(medicationLocal), [_patient, _bodyPart, _classname, _medic], _patient] call CBA_fnc_targetEvent;
|
||||
|
@ -30,4 +30,4 @@ if ([_patient, _bodyPart] call FUNC(hasTourniquetAppliedTo)) exitWith {
|
||||
[_patient, _usedItem] call FUNC(addToTriageCard);
|
||||
[_patient, "activity", LSTRING(Activity_appliedTourniquet), [[_medic, false, true] call EFUNC(common,getName)]] call FUNC(addToLog);
|
||||
|
||||
[QGVAR(tourniquetLocal), [_patient, _bodyPart], _patient] call CBA_fnc_targetEvent;
|
||||
[QGVAR(tourniquetLocal), [_patient, _bodyPart, _medic], _patient] call CBA_fnc_targetEvent;
|
||||
|
@ -60,7 +60,7 @@ private _arrayModified = false;
|
||||
|
||||
if (_partIndex == _bodyPartN) then {
|
||||
TRACE_1("delayed medication call after tourniquet removeal",_x);
|
||||
[QGVAR(medicationLocal), [_patient, _bodyPart, _medication], _patient] call CBA_fnc_targetEvent;
|
||||
[QGVAR(medicationLocal), [_patient, _bodyPart, _medication, _medic], _patient] call CBA_fnc_targetEvent;
|
||||
_occludedMedications set [_forEachIndex, []];
|
||||
_arrayModified = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user