mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-17 21:52:56 +03:00
Update public variables
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.
This commit is contained in:
@@ -145,8 +145,8 @@ _object setVariable ["characterID",_characterID,true];
|
||||
//remove old object
|
||||
deleteVehicle _cursorTarget;
|
||||
_activatingPlayer = player;
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
// create a weaponholder with dismissed parts
|
||||
_wh = "WeaponHolder" createVehicle (getPosATL player);
|
||||
@@ -158,9 +158,9 @@ _wh = "WeaponHolder" createVehicle (getPosATL player);
|
||||
|
||||
//publish new object
|
||||
_variables = [["ownerArray", _ownerArray],["padlockCombination", _ownerPasscode]];
|
||||
PVDZE_obj_Publish = [dayz_characterID,_object,[_dir, _pos],_variables];
|
||||
publicVariableServer "PVDZE_obj_Publish";
|
||||
diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZE_obj_Publish:", PVDZE_obj_Publish];
|
||||
PVDZ_obj_Publish = [dayz_characterID,_object,[_dir, _pos],_variables];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish];
|
||||
/*
|
||||
//Send maintenance info
|
||||
PVDZ_veh_Save = [_object,"maintenance"];
|
||||
|
||||
Reference in New Issue
Block a user