mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Remove unused PVEH
I'm guessing the 1 in place of I in the PV names was intentional to work around some BE filter. If not, it should be changed in vanilla.
This commit is contained in:
@@ -12,8 +12,6 @@ REMOVE TOOL BREAKING, IT'S STUPID
|
||||
dayz_serverObjectMonitor = []; IS REPLACED WITH PVDZE_serverObjectMonitor = [];
|
||||
trap_monitor.fsm is no more!
|
||||
|
||||
NEW FNC PVDZE_hlt_Bleed -- THATS AN L change it to an I
|
||||
|
||||
////////////////////////////////////////
|
||||
SELF ACTIONS VARIABLES
|
||||
////////////////////////////////////////
|
||||
|
||||
@@ -14,7 +14,7 @@ if (!isNull cursorTarget) then {
|
||||
_ent setDamage 1;
|
||||
} else {
|
||||
/* PVS/PVC - Skaronator */
|
||||
PVDZ_send = [_ent,"PZ_BreakLegs",[_ent,player]];
|
||||
PVDZ_send = [_ent,"Legs",[_ent,player]];
|
||||
publicVariableServer "PVDZ_send";
|
||||
};
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ if (_damage > 0) then {
|
||||
_total = (damage _obj) + _damage;
|
||||
|
||||
if (!isServer) then {
|
||||
PVDZ_obj_Save = [_obj,"objWallDamage",_total];
|
||||
publicVariableServer "PVDZ_obj_Save";
|
||||
PVDZ_veh_Save = [_obj,"objWallDamage",_total];
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
} else {
|
||||
[_obj,"objWallDamage",_total] call server_updateObject;
|
||||
};
|
||||
|
||||
@@ -37,8 +37,8 @@ if (local _unit) then {
|
||||
_unit setHit [_selection, _total];
|
||||
|
||||
if (!isServer) then {
|
||||
PVDZ_obj_Save = [_unit,"damage"];
|
||||
publicVariableServer "PVDZ_obj_Save";
|
||||
PVDZ_veh_Save = [_unit,"damage"];
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
} else {
|
||||
[_unit, "damage"] call server_updateObject;
|
||||
};
|
||||
|
||||
@@ -14,11 +14,11 @@ if (isServer) then {
|
||||
[_unit, "killed"] call server_updateObject;
|
||||
} else {
|
||||
if (DZE_Debug_Damage && ((!isPlayer _unit) || ((isPlayer _unit) && (vehicle _unit != _unit) && (_unit != _killer)))) then {
|
||||
PVDZ_obj_Save = [_unit, "killed",_killer];
|
||||
PVDZ_veh_Save = [_unit, "killed",_killer];
|
||||
} else {
|
||||
PVDZ_obj_Save = [_unit, "killed"];
|
||||
PVDZ_veh_Save = [_unit, "killed"];
|
||||
};
|
||||
publicVariableServer "PVDZ_obj_Save";
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
};
|
||||
|
||||
// everyone removes their EH for this vehicle
|
||||
|
||||
@@ -75,11 +75,11 @@ if (isServer) then {
|
||||
"PVDZ_plr_Death" addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerDied};
|
||||
"PVDZ_plr_Save" addPublicVariableEventHandler {_id = (_this select 1) call server_playerSync;};
|
||||
"PVDZ_obj_Publish" addPublicVariableEventHandler {(_this select 1) call server_publishObj};
|
||||
"PVDZ_veh_Save" addPublicVariableEventHandler {(_this select 1) call server_updateObject};
|
||||
"PVDZ_plr_Login1" addPublicVariableEventHandler {_id = (_this select 1) call server_playerLogin};
|
||||
"PVDZ_plr_Login2" addPublicVariableEventHandler {(_this select 1) call server_playerSetup};
|
||||
"PVDZ_plr_LoginRecord" addPublicVariableEventHandler {_id = (_this select 1) spawn dayz_recordLogin};
|
||||
"PVDZ_obj_Destroy" addPublicVariableEventHandler {(_this select 1) call server_deleteObj};
|
||||
"PVDZ_obj_Save" addPublicVariableEventHandler {(_this select 1) call server_updateObject; diag_log ("PublicEH");};
|
||||
"PVDZ_send" addPublicVariableEventHandler {(_this select 1) call server_sendToClient};
|
||||
"PVDZ_dayzCarBomb" addPublicVariableEventHandler {[_this select 1] execVM "\z\addons\dayz_code\actions\detonate_bomb.sqf";};
|
||||
//[player,[medical Array]];
|
||||
|
||||
Reference in New Issue
Block a user