Please??
This commit is contained in:
Glowbal 2015-04-16 00:14:05 +02:00
parent e54d8dc827
commit 0f4b7d0977
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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