mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replaced quote(func for quote(dfunc
This commit is contained in:
parent
bbc2a62476
commit
65137b347b
@ -18,4 +18,4 @@ private ["_caller","_target","_title","_content"];
|
||||
_caller = _this select 0;
|
||||
_target = _this select 1;
|
||||
|
||||
[[_caller, _target], QUOTE(FUNC(actionCheckPulseLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
[[_caller, _target], QUOTE(DFUNC(actionCheckPulseLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
|
@ -16,7 +16,7 @@
|
||||
private "_unit";
|
||||
_unit = _this select 0;
|
||||
if !(local _unit) exitwith{
|
||||
[[_unit], QUOTE(FUNC(addToInjuredCollection)), _unit] call EFUNC(common,execRemoteFnc);
|
||||
[[_unit], QUOTE(DFUNC(addToInjuredCollection)), _unit] call EFUNC(common,execRemoteFnc);
|
||||
};
|
||||
|
||||
if !(_unit getvariable[QGVAR(addedToUnitLoop),false]) then{
|
||||
|
@ -23,7 +23,7 @@ _message = _this select 2;
|
||||
_arguments = _this select 3;
|
||||
|
||||
if (!local _unit) exitwith {
|
||||
[_this, QUOTE(FUNC(addToLog)), _unit] call EFUNC(common,execRemoteFnc);
|
||||
[_this, QUOTE(DFUNC(addToLog)), _unit] call EFUNC(common,execRemoteFnc);
|
||||
};
|
||||
|
||||
_lastNumber = date select 4;
|
||||
|
@ -19,7 +19,7 @@ _unit = _this select 0;
|
||||
_newItem = _this select 1;
|
||||
|
||||
if (!local _unit) exitwith {
|
||||
[_this, QUOTE(FUNC(addToTriageList)), _unit] call EFUNC(common,execRemoteFnc);
|
||||
[_this, QUOTE(DFUNC(addToTriageList)), _unit] call EFUNC(common,execRemoteFnc);
|
||||
};
|
||||
|
||||
_log = _unit getvariable [QGVAR(triageCard), []];
|
||||
|
@ -22,7 +22,7 @@ if (count _this >= 2) then {
|
||||
|
||||
if (!alive _unit) exitwith{};
|
||||
if (!local _unit) exitwith {
|
||||
[[_unit, _force], QUOTE(FUNC(setDead)), _unit, false] call EFUNC(common,execRemoteFnc);
|
||||
[[_unit, _force], QUOTE(DFUNC(setDead)), _unit, false] call EFUNC(common,execRemoteFnc);
|
||||
};
|
||||
|
||||
if (missionName getVariable [QGVAR(enableRevive), false]) exitwith {
|
||||
|
@ -25,7 +25,7 @@ if !(!(isNull _unit) && {(_unit isKindOf "CaManBase") && ([_unit] call EFUNC(com
|
||||
|
||||
// We only want this function to work on local machines
|
||||
if (!local _unit) exitwith {
|
||||
[[_unit], QUOTE(FUNC(setUnconsciousState)), _unit, false] call EFUNC(common,execRemoteFnc);
|
||||
[[_unit], QUOTE(DFUNC(setUnconsciousState)), _unit, false] call EFUNC(common,execRemoteFnc);
|
||||
};
|
||||
|
||||
// Get rid of the object we are carrying, before we go unconscious.
|
||||
|
@ -27,7 +27,7 @@ _items = _this select 4;
|
||||
if (count _items == 0) exitwith {};
|
||||
|
||||
if ([_caller, _target, _items] call FUNC(useItem)) then {
|
||||
[[_target, _className], QUOTE(FUNC(treatmentBandageLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
[[_target, _className], QUOTE(DFUNC(treatmentBandageLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
{
|
||||
if (_x != "") then {
|
||||
[_target, _x] call FUNC(addToTriageCard);
|
||||
|
@ -27,7 +27,7 @@ _items = _this select 4;
|
||||
if (count _items == 0) exitwith {};
|
||||
|
||||
if ([_caller, _target, _items] call FUNC(useItem)) then {
|
||||
[[_target, _className], QUOTE(FUNC(treatmentMedicationLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
[[_target, _className], QUOTE(DFUNC(treatmentMedicationLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
{
|
||||
if (_x != "") then {
|
||||
[_target, _x] call FUNC(addToTriageCard);
|
||||
|
@ -28,7 +28,7 @@ if (count _items == 0) exitwith {};
|
||||
|
||||
if ([_caller, _target, _items] call FUNC(useItem)) then {
|
||||
_removeItem = _items select 0;
|
||||
[[_target, _removeItem], QUOTE(FUNC(treatmentIVLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
[[_target, _removeItem], QUOTE(DFUNC(treatmentIVLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
["Medical_treatmentCompleted", [_caller, _target, _selectionName, _className, true]] call ace_common_fnc_localEvent;
|
||||
[_target, _removeItem] call FUNC(addToTriageCard);
|
||||
[_target, "activity", "STR_ACE_HAS_GIVEN_IV_ACTIVITY", [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
|
||||
|
@ -40,7 +40,7 @@ if ((_tourniquets select _part) > 0) exitwith {
|
||||
|
||||
if ([_caller, _target, _items] call FUNC(useItem)) then {
|
||||
_removeItem = _items select 0;
|
||||
[[_target, _removeItem], QUOTE(FUNC(treatmentTourniquetLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
[[_target, _removeItem], QUOTE(DFUNC(treatmentTourniquetLocal)), _target] call EFUNC(common,execRemoteFnc);
|
||||
["Medical_treatmentCompleted", [_caller, _target, _selectionName, _className, true]] call ace_common_fnc_localEvent;
|
||||
[_target, _removeItem] call FUNC(addToTriageCard);
|
||||
[_target, "activity", "STR_ACE_HAS_APPLIED_TOURNIQUET_ACTIVITY", [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
|
||||
|
Loading…
Reference in New Issue
Block a user