mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +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:
@@ -107,8 +107,8 @@ if(_IsNearVehicle >= 1) then {
|
||||
[_vehicleSrc,_newFuelSrc] call local_setFuel;
|
||||
} else {
|
||||
/* PVS/PVC - Skaronator */
|
||||
PVDZE_send = [_vehicle,"SFuel",[_vehicleSrc,_newFuelSrc]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
PVDZ_send = [_vehicle,"SetFuel",[_vehicleSrc,_newFuelSrc]];
|
||||
publicVariableServer "PVDZ_send";
|
||||
};
|
||||
} else {
|
||||
_isFillok = false;
|
||||
@@ -131,8 +131,8 @@ if(_IsNearVehicle >= 1) then {
|
||||
[_vehicle,_newFuel] call local_setFuel;
|
||||
} else {
|
||||
/* PVS/PVC - Skaronator */
|
||||
PVDZE_send = [_vehicle,"SFuel",[_vehicle,_newFuel]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
PVDZ_send = [_vehicle,"SetFuel",[_vehicle,_newFuel]];
|
||||
publicVariableServer "PVDZ_send";
|
||||
};
|
||||
|
||||
// Play sound
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PVDZE_veh_Update = [_this select 3,"all"];
|
||||
publicVariableServer "PVDZE_veh_Update";
|
||||
PVDZ_obj_Save = [_this select 3,"all"];
|
||||
publicVariableServer "PVDZ_obj_Save";
|
||||
@@ -576,8 +576,8 @@ if (_hasrequireditem) then {
|
||||
_tmpbuilt setVariable ["CharacterID",_combination,true]; //set combination as a character ID
|
||||
|
||||
//call publish precompiled function with given args and send public variable to server to save item to database
|
||||
PVDZE_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname];
|
||||
publicVariableServer "PVDZE_obj_Publish";
|
||||
PVDZ_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
|
||||
cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5]; //display new combination
|
||||
systemChat format [(localize "str_epoch_player_140"),_combinationDisplay,_text];
|
||||
@@ -589,8 +589,8 @@ if (_hasrequireditem) then {
|
||||
if(_tmpbuilt isKindOf "Land_Fire_DZ") then { //if campfire, then spawn, but do not publish to database
|
||||
_tmpbuilt spawn player_fireMonitor;
|
||||
} else {
|
||||
PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname];
|
||||
publicVariableServer "PVDZE_obj_Publish";
|
||||
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
};
|
||||
};
|
||||
} else { //if magazine was not removed, cancel publish
|
||||
|
||||
@@ -74,9 +74,9 @@ if (_build) then {
|
||||
*/
|
||||
|
||||
_object setVariable ["characterID",dayz_characterID,true];
|
||||
PVDZE_obj_Publish = [dayz_characterID,_object,[round _direction, _location], _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,[round _direction, _location], _variables];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish];
|
||||
|
||||
cutText [format [localize "str_build_01",_text], "PLAIN DOWN"];
|
||||
r_action_count = 0;
|
||||
|
||||
@@ -87,9 +87,9 @@ for "_i" from 1 to 20 do {
|
||||
_realObjectStillThere = false;
|
||||
|
||||
_activatingPlayer = player;
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
diag_log [diag_ticktime, __FILE__, "Networked object, request to destroy", PVDZE_obj_Delete];
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
diag_log [diag_ticktime, __FILE__, "Networked object, request to destroy", PVDZ_obj_Destroy];
|
||||
};
|
||||
|
||||
["Working",0,[20,40,15,0]] call dayz_NutritionSystem;
|
||||
@@ -155,9 +155,9 @@ if (!_realObjectStillThere) then {
|
||||
_object setVariable ["ownerArray",_ownerArray,true];
|
||||
_variables = [[ "ownerArray", _ownerArray]];
|
||||
_object setVariable ["characterID",_characterID,true];
|
||||
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"];
|
||||
|
||||
@@ -156,11 +156,11 @@ if (_proceed) then {
|
||||
titleText [format["Dismantled, (%1).", (typeOf _object)], "PLAIN DOWN"];
|
||||
|
||||
_activatingPlayer = player;
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
if (isServer) then {
|
||||
PVDZE_obj_Delete call server_deleteObj;
|
||||
PVDZ_obj_Destroy call server_deleteObj;
|
||||
};
|
||||
|
||||
//Need to update for sanity no client should ever create or delete anything
|
||||
|
||||
@@ -209,9 +209,9 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then {
|
||||
|
||||
//publish new tent
|
||||
//[[[],[]],[[],[]],[[],[]]]
|
||||
PVDZE_obj_Publish = [dayz_characterID,_object,[_dir, _pos],[[[],[]],_magazines,[[],[]]]];
|
||||
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],[[[],[]],_magazines,[[],[]]]];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish];
|
||||
|
||||
//cutText [localize "str_upgradeDone", "PLAIN DOWN"];
|
||||
_msg = localize "str_upgradeDone";
|
||||
|
||||
@@ -169,11 +169,11 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then {
|
||||
|
||||
//remove old tent
|
||||
_activatingPlayer = player;
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
if (isServer) then {
|
||||
PVDZE_obj_Delete call server_deleteObj;
|
||||
PVDZ_obj_Destroy call server_deleteObj;
|
||||
};
|
||||
deleteVehicle _cursorTarget;
|
||||
|
||||
@@ -228,9 +228,9 @@ if ((_startUpgrade) AND (isClass(_upgradeConfig))) then {
|
||||
uiSleep 3;
|
||||
|
||||
//publish new tent
|
||||
PVDZE_obj_Publish = [dayz_characterID,_object,[_dir, _pos],[_weapons,_magazines,_backpacks]];
|
||||
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],[_weapons,_magazines,_backpacks]];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish];
|
||||
|
||||
//cutText [localize "str_upgradeDone", "PLAIN DOWN"];
|
||||
_msg = localize "str_upgradeDone";
|
||||
|
||||
@@ -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"];
|
||||
|
||||
@@ -522,8 +522,8 @@ if (_hasrequireditem) then {
|
||||
_tmpbuilt setVariable ["CharacterID",_combination,true];
|
||||
|
||||
|
||||
PVDZE_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname];
|
||||
publicVariableServer "PVDZE_obj_Publish";
|
||||
PVDZ_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
|
||||
cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5];
|
||||
systemChat format [(localize "str_epoch_player_140"),_combinationDisplay,_text];
|
||||
@@ -535,8 +535,8 @@ if (_hasrequireditem) then {
|
||||
if(_tmpbuilt isKindOf "Land_Fire_DZ") then {
|
||||
_tmpbuilt spawn player_fireMonitor;
|
||||
} else {
|
||||
PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname];
|
||||
publicVariableServer "PVDZE_obj_Publish";
|
||||
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
};
|
||||
};
|
||||
} else {
|
||||
|
||||
@@ -102,8 +102,8 @@ if (_infectionChance != 0 && {abs(_infectionChance) > random 1}) then
|
||||
|
||||
//Publish messing
|
||||
player setVariable ["messing",[dayz_hunger,dayz_thirst,dayz_nutrition],false]; //No need to be sent to everyplayer
|
||||
PVDZE_serverStoreVar = [player,"messing",[dayz_hunger,dayz_thirst,dayz_nutrition]]; //update server side only
|
||||
publicVariableServer "PVDZE_serverStoreVar";
|
||||
PVDZ_serverStoreVar = [player,"messing",[dayz_hunger,dayz_thirst,dayz_nutrition]]; //update server side only
|
||||
publicVariableServer "PVDZ_serverStoreVar";
|
||||
|
||||
//Play sound and alert zombies
|
||||
if (_sound != "") then
|
||||
|
||||
@@ -62,9 +62,9 @@ if ((count _worldspace) == 2) then {
|
||||
|
||||
_stash setVariable ["characterID",dayz_characterID,true];
|
||||
|
||||
PVDZE_obj_Publish = [dayz_characterID,_stash,[_dir,_location],[]];
|
||||
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,_stash,[_dir,_location],[]];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish];
|
||||
|
||||
r_action_count = 0;
|
||||
cutText [format [localize "str_success_stash_pitch",_stashname], "PLAIN DOWN"];
|
||||
|
||||
@@ -85,12 +85,12 @@ _sfx = "tentpack";
|
||||
uisleep 3;
|
||||
|
||||
_activatingPlayer = player;
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
//Send killed for object
|
||||
if (isServer) then {
|
||||
PVDZE_obj_Delete call server_deleteObj;
|
||||
PVDZ_obj_Destroy call server_deleteObj;
|
||||
} else {
|
||||
PVDZ_veh_Save = [_obj, "killed"];
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
|
||||
@@ -29,9 +29,9 @@ _object setDir (getDir player);
|
||||
|
||||
_object setVariable ["armed", false, true];
|
||||
|
||||
PVDZE_obj_Publish = [dayz_characterID,_object,[getDir _object, getPosATL _object],[["armed", _object getVariable "armed"]]];
|
||||
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,[getDir _object, getPosATL _object],[["armed", _object getVariable "armed"]]];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hive. PVDZ_obj_Publish:", PVDZ_obj_Publish];
|
||||
|
||||
player reveal _object;
|
||||
|
||||
|
||||
@@ -47,8 +47,8 @@ while {r_doLoop} do {
|
||||
r_player_infected = false;
|
||||
player setVariable["USEC_infected",false,false];
|
||||
|
||||
PVDZE_serverStoreVar = [player,"USEC_infected",false];
|
||||
publicVariableServer "PVDZE_serverStoreVar";
|
||||
PVDZ_serverStoreVar = [player,"USEC_infected",false];
|
||||
publicVariableServer "PVDZ_serverStoreVar";
|
||||
} else {
|
||||
_infectedStatus = if (r_player_infected) then { "Infected" } else { "Cured" };
|
||||
_cureAttempt = _cureAttempt + 0.01;
|
||||
|
||||
@@ -17,7 +17,7 @@ if ((_callerID != "0") && (_targetID != "0")) then {
|
||||
if !(_callerID in _rfriendlies) then {
|
||||
titleText [(localize "STR_EPOCH_ACTIONS_8"), "PLAIN DOWN"]; //To Caller
|
||||
/* PVS/PVC - Skaronator */
|
||||
PVDZE_send = [_target,"tagFriendly",[_target]]; //To Target
|
||||
publicVariableServer "PVDZE_send";
|
||||
PVDZ_send = [_target,"tagFriendly",[_target]]; //To Target
|
||||
publicVariableServer "PVDZ_send";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -14,8 +14,8 @@ if (!isNull cursorTarget) then {
|
||||
_ent setDamage 1;
|
||||
} else {
|
||||
/* PVS/PVC - Skaronator */
|
||||
PVDZE_send = [_ent,"PZ_BreakLegs",[_ent,player]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
PVDZ_send = [_ent,"PZ_BreakLegs",[_ent,player]];
|
||||
publicVariableServer "PVDZ_send";
|
||||
};
|
||||
|
||||
[player,"hit",0,false] call dayz_zombieSpeak;
|
||||
|
||||
@@ -63,9 +63,8 @@ if(!(alive _item)) then {
|
||||
dayz_lastMeal = time;
|
||||
dayz_hunger = 0;
|
||||
|
||||
//["PVDZE_plr_Save",[player,[],true]] call callRpcProcedure;
|
||||
PVDZE_plr_Save = [player,[],true,false];
|
||||
publicVariableServer "PVDZE_plr_Save";
|
||||
PVDZ_plr_Save = [player,[],true,false];
|
||||
publicVariableServer "PVDZ_plr_Save";
|
||||
|
||||
[player,"eat",0,false] call dayz_zombieSpeak;
|
||||
|
||||
|
||||
@@ -65,8 +65,8 @@ if (!_fueling) then {
|
||||
if (local _vehicle) then {
|
||||
[_vehicle,_newFuel] call local_setFuel;
|
||||
} else {
|
||||
PVDZE_send = [_vehicle,"SFuel",[_vehicle,_newFuel]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
PVDZ_send = [_vehicle,"SetFuel",[_vehicle,_newFuel]];
|
||||
publicVariableServer "PVDZ_send";
|
||||
};
|
||||
|
||||
cutText [format [localize "str_player_05",_nameType,_canSize], "PLAIN DOWN"];
|
||||
|
||||
@@ -176,8 +176,8 @@ if (_proceed) then {
|
||||
|
||||
if(!_isWreck) then {
|
||||
_activatingPlayer = player;
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID, _activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
};
|
||||
|
||||
cutText [format[(localize "str_epoch_player_165"),_nameVehicle], "PLAIN DOWN"];
|
||||
|
||||
@@ -115,8 +115,8 @@ if (_isMan or _isAnimal or _isZombie) exitWith { cutText [localize "str_siphon_n
|
||||
if (local _vehicle) then {
|
||||
[_vehicle,_newFuel] call local_setFuel;
|
||||
} else {
|
||||
PVDZE_send = [_vehicle,"SFuel",[_vehicle,_newFuel]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
PVDZ_send = [_vehicle,"SetFuel",[_vehicle,_newFuel]];
|
||||
publicVariableServer "PVDZ_send";
|
||||
};
|
||||
|
||||
// Play sound
|
||||
|
||||
@@ -206,8 +206,8 @@ if (_finished) then {
|
||||
|
||||
//if(_objectID != "0" && _objectUID != "0") then {
|
||||
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
|
||||
@@ -164,8 +164,8 @@ if (_qty >= _qty_in) then {
|
||||
_objectID = _obj getVariable ["ObjectID","0"];
|
||||
_objectUID = _obj getVariable ["ObjectUID","0"];
|
||||
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
|
||||
@@ -195,8 +195,8 @@ if (_finished) then {
|
||||
|
||||
if(local _obj && !isNull _obj && alive _obj && !_notSetup) then {
|
||||
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
|
||||
@@ -161,8 +161,8 @@ if (_qty >= _qty_in) then {
|
||||
_objectID = _obj getVariable ["ObjectID","0"];
|
||||
_objectUID = _obj getVariable ["ObjectUID","0"];
|
||||
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
|
||||
@@ -226,8 +226,8 @@ if (_finished) then {
|
||||
|
||||
//if(_objectID != "0" && _objectUID != "0") then {
|
||||
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
|
||||
@@ -204,8 +204,8 @@ if (_finished) then {
|
||||
|
||||
//if(_objectID != "0" && _objectUID != "0") then {
|
||||
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
|
||||
@@ -190,8 +190,8 @@ if (_qty >= _qty_in) then {
|
||||
_objectID = _obj getVariable ["ObjectID","0"];
|
||||
_objectUID = _obj getVariable ["ObjectUID","0"];
|
||||
|
||||
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZE_obj_Delete";
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,_activatingPlayer];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
|
||||
@@ -159,9 +159,9 @@ if(!_cancel) then {
|
||||
_tent setVariable ["CharacterID",_combination,true];
|
||||
_tent setVariable ["OEMPos",_location,true];
|
||||
|
||||
//["PVDZE_obj_Publish",[_combination,_tent,[_dir,_location],"VaultStorageLocked"]] call callRpcProcedure;
|
||||
PVDZE_obj_Publish = [_combination,_tent,[_dir,_location],"VaultStorageLocked"];
|
||||
publicVariableServer "PVDZE_obj_Publish";
|
||||
//["PVDZ_obj_Publish",[_combination,_tent,[_dir,_location],"VaultStorageLocked"]] call callRpcProcedure;
|
||||
PVDZ_obj_Publish = [_combination,_tent,[_dir,_location],"VaultStorageLocked"];
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
|
||||
cutText [format[(localize "str_epoch_player_179"),_combination], "PLAIN DOWN", 5];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user