manlikeg
Member-
Content Count
45 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout manlikeg
-
Rank
Lance Corporal
Recent Profile Visitors
618 profile views
-
yeah just put it as isbag as iv'e already defined that and it now works, thanks alot for the help
-
it kind of works but only runs when i respawn
-
can anyone help?
-
Making a Limited Arsenal
manlikeg replied to T_STRONG_SHARK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
this addAction["Open Virtual Arsenal", {null = [_this] execVM "virtual_arsenal_init.sqf";}]; -
Making a Limited Arsenal
manlikeg replied to T_STRONG_SHARK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
//Init stuff _crate = _this select 0; ["AmmoboxInit",[_crate,false,{true}]] spawn BIS_fnc_arsenal; //Lists of items to include _nvgoggles = [ "rhsusf_ANPVS_14", "rhsusf_ANPVS_15" _availableHeadgear = [ "rhsusf_lwh_helmet_marpatd", "rhsusf_lwh_helmet_marpatd_ess", "rhsusf_lwh_helmet_marpatd_headset", "rhs_8point_marpatd" ]; _availableGoggles = [ "rhsusf_googles_black", "rhsusf_googles_yellow", "rhsusf_googles_orange", "rhsusf_googles_clear", "rhsusf_shemagh_tan", "rhsusf_shemagh2_tan", "rhsusf_shemagh_gogg_tan", "rhsusf_shemagh2_gogg_tan", "G_Aviator" ]; _availableUniforms = [ "rhs_uniform_FROG01_d1" ]; _availableVests = [ "rhsusf_spc", "rhsusf_spc_corpsman", "rhsusf_spc"_crewman, "rhsusf_spc_iar", "rhsusf_spc_light", "rhsusf_spc_mg", "rhsusf_spc_marksman", "rhsusf_spc_patchless", "rhsusf_spc_patchless_radio", "rhsusf_spc_rifleman", "rhsusf_spc_squadleader", "rhsusf_spc_teamleader" ]; _availableBackpacks = [ "B_Kitbag_cbr", "B_Parachute", "rhsusf_assault_eagleaiii_coy" ]; _availableweapons = [ "" ]; _availablemags = [ "" ]; _availableaccs = [ "" ]; //Populate with predefined items and whatever is already in the crate [_crate,((backpackCargo _crate) + _availableBackpacks)] call BIS_fnc_addVirtualBackpackCargo; [_crate,((itemCargo _crate) + _availableHeadgear + _availableGoggles + _availableUniforms + _availableVests + _availableaccs)] call BIS_fnc_addVirtualItemCargo; [_crate,(magazineCargo _crate + _availablemags)] call BIS_fnc_addVirtualMagazineCargo; [_crate,((weaponCargo _crate) + _availableweapons)] call BIS_fnc_addVirtualWeaponCargo; edit: you should also use this so players cannot load their own loadouts with weapons you dont want them to have https://www.dropbox.com/s/l10xioc4crjlb82/override_VA_templates.VR.zip?dl=0 -
still dont work :/
-
class Header ==
-
thats what my mission looks like the file is inside the tankode folder