mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
player_wearclothes changes, string changes and maintain area moving (#1783)
* player_wearclothes changes, string changes and maintain area moving Adds 2 toggles for admins to modify: DZE_backpackRemove forces the player to drop his/her backpack when they change gear. DZE_maintainCurrencyRate modifies the amount of worth each item is worth to maintain. Changes the error message in player_wearClothes to tell the player why they can't change gear yet Remove some debug lines that spam RPT * Rework Rework as per @ebaydayz * Rework Rework
This commit is contained in:
@@ -178,11 +178,11 @@ if (!isNil "_newBackpackType" && {_newBackpackType != ""}) then {
|
||||
if (gear_done) then {disableUserInput false;disableUserInput false;disableUserInput false;disableUserInput false;};
|
||||
|
||||
//Debug Message
|
||||
diag_log "Swichtable Unit Created. Equipment:";
|
||||
diag_log format["Weapons: %1",weapons _newUnit];
|
||||
diag_log format["Magazines: %1",magazines _newUnit];
|
||||
diag_log format["Backpack weapons: %1",getWeaponCargo unitBackpack _newUnit];
|
||||
diag_log format["Backpack magazines: %1",getMagazineCargo unitBackpack _newUnit];
|
||||
//diag_log "Swichtable Unit Created. Equipment:";
|
||||
//diag_log format["Weapons: %1",weapons _newUnit];
|
||||
//diag_log format["Magazines: %1",magazines _newUnit];
|
||||
//diag_log format["Backpack weapons: %1",getWeaponCargo unitBackpack _newUnit];
|
||||
//diag_log format["Backpack magazines: %1",getMagazineCargo unitBackpack _newUnit];
|
||||
|
||||
//Clear and delete old Unit
|
||||
removeAllWeapons _oldUnit;
|
||||
@@ -203,4 +203,4 @@ player setVariable ["BIS_noCoreConversations",true];
|
||||
// publicVariable _playerObjName;
|
||||
|
||||
call dayz_meleeMagazineCheck;
|
||||
{player reveal _x} count (nearestObjects [getPosATL player,["AllVehicles","WeaponHolder","Land_A_tent","BuiltItems","ModularItems","DZE_Base_Object"],75]);
|
||||
{player reveal _x} count (nearestObjects [getPosATL player,["AllVehicles","WeaponHolder","Land_A_tent","BuiltItems","ModularItems","DZE_Base_Object"],75]);
|
||||
|
||||
Reference in New Issue
Block a user