From a56643f4667358321e6686b81c4a708ae38370b1 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Wed, 11 Dec 2019 18:33:26 -0600 Subject: [PATCH] Delete unLoad_act.sqf --- .../SQF/dayz_code/medical/load/unLoad_act.sqf | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 SQF/dayz_code/medical/SQF/dayz_code/medical/load/unLoad_act.sqf diff --git a/SQF/dayz_code/medical/SQF/dayz_code/medical/load/unLoad_act.sqf b/SQF/dayz_code/medical/SQF/dayz_code/medical/load/unLoad_act.sqf deleted file mode 100644 index 9ec173726..000000000 --- a/SQF/dayz_code/medical/SQF/dayz_code/medical/load/unLoad_act.sqf +++ /dev/null @@ -1,30 +0,0 @@ -// unLoad_act.sqf -// AUGUST 2010 - norrin -// Updated December 2019 - JasonTM - -private ["_args","_unconscious_crew","_vehicle","_pos","_wounded","_medic"]; - -_args = _this select 3; -_medic = _args select 0; -_unconscious_crew = _args select 1; -_vehicle = _args select 2; -_pos = [_vehicle] call FNC_GetPos; - -r_action = false; -call fnc_usec_medic_removeActions; - -// Prevent trolling unconscious players by checking that the position is not over water. -if !(surfaceIsWater _pos) then { - { - _wounded = _x; - unassignVehicle _wounded; - _wounded action ["EJECT", _vehicle]; - - // Send information to reestablish the "lie on back" animation - PVDZ_send = [_wounded,"UnloadWounded",_wounded,[_pos,dayz_authKey,_medic]]; - publicVariableServer "PVDZ_send"; - - } count _unconscious_crew; -} else { - localize "str_actions_unload_fail" call dayz_rollingMessages; -};