mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
It makes no sense to rename the identical DayZ PVs to have an E in their name. I don't see any good reason it was done in the first place. All it accomplishes is breaking script compatibility between the two mods and requiring different publicvariable.txt filters. The only time it makes sense is for custom Epoch variables that aren't used in vanilla. All admins have to do to update custom scripts is swap the names according to the change log. Note I've submitted a pull request to replace PVDZ_veh_Save with PVDZ_obj_Save in official too because they are duplicates.
32 lines
851 B
Plaintext
32 lines
851 B
Plaintext
// Load_act.sqf
|
|
// JULY 2010 - norrin
|
|
|
|
private ["_args","_dragger","_vcl","_wounded"];
|
|
|
|
_args = _this select 3;
|
|
_dragger = _args select 0;
|
|
_vcl = _args select 1;
|
|
_wounded = _args select 2;
|
|
r_drag_sqf = false;
|
|
r_action = false;
|
|
r_action_load = false;
|
|
call fnc_usec_medic_removeActions;
|
|
|
|
_dragger removeAction NORRN_loadWoundedAction;
|
|
|
|
if ((_vcl emptyPositions "cargo") > 0) then
|
|
{
|
|
detach _wounded;
|
|
_dragger switchMove "";
|
|
_wounded setVariable ["NORRN_LoadVcl", _vcl, true];
|
|
uiSleep 1;
|
|
//["PVDZ_drg_RLact",_wounded] call broadcastRpcCallAll;
|
|
[_wounded] execVM "\z\addons\dayz_code\medical\load\load_wounded.sqf";
|
|
PVDZ_drg_RLact = _wounded;
|
|
publicVariable "PVDZ_drg_RLact";
|
|
player removeAction NORRN_dropAction;
|
|
} else {
|
|
cutText [localize "str_dragnospace", "PLAIN DOWN"];//hint "No space left in vehicle";
|
|
};
|
|
NORRN_load_wounded_action = true;
|