mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
e54d8dc827
commit
0f4b7d0977
@ -40,7 +40,7 @@ if ((_tourniquets select _part) > 0) exitwith {
|
||||
};
|
||||
|
||||
_removeItem = _items select 0;
|
||||
[[_target, _removeItem], QUOTE(DFUNC(treatmentTourniquetLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
|
||||
[[_target, _removeItem, _selectionName], QUOTE(DFUNC(treatmentTourniquetLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
|
||||
|
||||
[_target, _removeItem] call FUNC(addToTriageCard);
|
||||
[_target, "activity", "STR_ACE_MEDICAL_ACTIVITY_appliedTourniquet", [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
|
||||
|
@ -16,12 +16,10 @@
|
||||
private ["_target", "_tourniquetItem", "_part", "_tourniquets", "_applyingTo"];
|
||||
_target = _this select 0;
|
||||
_tourniquetItem = _this select 1;
|
||||
_selectionName = _this select 2;
|
||||
|
||||
//[_target,"treatment",format["%1 applied a tourniquet on %2",[_caller] call EFUNC(common,getName),_selectionName]] call FUNC(addActivityToLog);
|
||||
//[_target,_removeItem] call FUNC(addToTriageList);
|
||||
[_target] call FUNC(addToInjuredCollection);
|
||||
|
||||
|
||||
_part = [_selectionName] call FUNC(selectionNameToNumber);
|
||||
|
||||
// Place a tourniquet on the bodypart
|
||||
|
Loading…
Reference in New Issue
Block a user