Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
too pro for meeasy to make, just put all items you want to be able in an array; Call 5 times BIS random function on it.
// Record initial inventory
_config = (configFile >> "CfgSurvival" >> "Inventory" >> "Default");
_mags = getArray (_config >> "magazines");
_wpns = getArray (_config >> "weapons");
_bcpk = getText (_config >> "backpack");
_key = format["CHILD:203:%1:%2:%3:", _charID, [_wpns, _mags], [_bcpk, [], []]];
hahaha my mistake! hahahI dont know why it would only work with epoch ... do I look like one of those epoch fags? With all that UNDERSERVED and UNEARNED gear bought from those traders using 46 different types of money? Epoch and now especially Overpoch might as well spawn every player with a weapons crate so they can just choose all the gear they want.
That is a vanilla dayz solution I explained.
//Record initial inventory
_config = (configFile >> "CfgSurvival" >> "Inventory" >> "Default");
_mags = getArray (_config >> "magazines");
_wpns = getArray (_config >> "weapons");
_bcpk = getText (_config >> "backpack");
_randomSpot = true;
//******************************RANDOM GEAR CODE************************
//this selects a random ARRAY of the weapon and its specific ammo
_weapon = [["m16a2","30Rnd_556x45_Stanag"],["AK_47_S","30Rnd_762x39_AK47"]] call BIS_fnc_selectRandom;
_tools = ["map","gps"]call BIS_fnc_selectRandom;
_items = ["bakedbeans","soda"]call BIS_fnc_selectRandom;
_backpack = ["alicepack","coyotepack","fagbag"]call BIS_fnc_selectRandom;
//*********overwrite the default values with what we randomly selected above*******
_bcpk = _backpack;
_wpns = [_weapon select 0,_tools];
_mags = [_weapon select 1,_items];
//*****************************END RANDOM SELECTION*******************
//Wait for HIVE to be free
_key = format["CHILD:203:%1:%2:%3:",_charID,[_wpns,_mags],[_bcpk,[],[]]];
_key call server_hiveWrite;