Jump to content

Recommended Posts

18:20:06 soldier[i_Soldier_GL_F]:Some of magazines weren't stored in soldier Vest or Uniform?
18:20:06   found in (615,295).
18:20:06 soldier[i_Soldier_GL_F]:Some of magazines weren't stored in soldier Vest or Uniform?
18:20:06   found in (615,294).
18:20:06   found in (615,295).
18:20:06   found in (615,295).

 

ive researched this for a bit and cant find any answers ..

 

any help thanks in advances ...

Share this post


Link to post
Share on other sites

if you check your loadout script very carefully you will find every magazine is stored somewhere.

This is B.I spam, ignore it

Share this post


Link to post
Share on other sites

Even more interesting would be this: 

18:20:06   found in (615,295).

I think this has to do with something like a nearest obejct command, but I am not quite sure about it. It could be anything ...

 

 

Regards Arkensor

Share this post


Link to post
Share on other sites

if you check your loadout script very carefully you will find every magazine is stored somewhere.

This is B.I spam, ignore it

 

 

yeah its driving me nuts its spamed on every respawn and I used BIS_fnc_arsenal to set up all the loadouts ..

 

Even more interesting would be this: 

18:20:06   found in (615,295).

I think this has to do with something like a nearest obejct command, but I am not quite sure about it. It could be anything ...

 

 

Regards Arkensor

 

I end up with 50+ of these but only noticed it after using eden editor.

ill post a full rpt maybe it will help ..

Share this post


Link to post
Share on other sites

I get tons of these log messages also, and I'm really glad you reported it, and others chimed in.  I was afraid my loadout scripts caused them, and I would have wasted time researching that.  Now I know not to waste my time on it.

 

Thanks.

Share this post


Link to post
Share on other sites

I'm afraid that the "magazines weren't stored" cases comes directly from the configfile CfgVehicles class.

Share this post


Link to post
Share on other sites

 

I'm afraid that the "magazines weren't stored" cases comes directly from the configfile CfgVehicles class.

 

I'm not sure I fully understand what your saying

TAG_FNC_Rifleman = 
{
  _x = _this select 0;

comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0); //Just noticed this maybe my problem//
};
comment "Add containers";
_x forceAddUniform "U_BG_Guerilla1_1";
for "_i" from 1 to 2 do {_x addItemToUniform "FirstAidKit";};
_x addVest "V_TacVestIR_blk";
_x addItemToVest "FirstAidKit";
for "_i" from 1 to 5 do {_x addItemToVest "30Rnd_556x45_Stanag_Tracer_Green";};
for "_i" from 1 to 3 do {_x addItemToVest "SmokeShell";};
for "_i" from 1 to 3 do {_x addItemToVest "Chemlight_blue";};
for "_i" from 1 to 2 do {_x addItemToVest "MiniGrenade";};
for "_i" from 1 to 3 do {_x addItemToVest "HandGrenade";};
_x addHeadgear "H_Watchcap_khk";
_x addGoggles "G_Balaclava_combat";

comment "Add weapons";
_x addWeapon "arifle_TRG21_F";
_x addPrimaryWeaponItem "acc_flashlight";
_x addPrimaryWeaponItem "optic_ACO_grn";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";
  [_x] call loadChange;
};

TAG_FNC_Grenadier = 
{
  _x = _this select 0;

comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_BG_Guerrilla_6_1";
for "_i" from 1 to 2 do {_x addItemToUniform "FirstAidKit";};
_x addItemToUniform "HandGrenade";
_x addItemToUniform "Chemlight_blue";
_x addVest "V_HarnessOGL_brn";
for "_i" from 1 to 5 do {_x addItemToVest "30Rnd_556x45_Stanag_Tracer_Green";};
for "_i" from 1 to 5 do {_x addItemToVest "1Rnd_HE_Grenade_shell";};
for "_i" from 1 to 3 do {_x addItemToVest "UGL_FlareGreen_F";};
for "_i" from 1 to 5 do {_x addItemToVest "1Rnd_Smoke_Grenade_shell";};
for "_i" from 1 to 2 do {_x addItemToVest "MiniGrenade";};
_x addHeadgear "H_Watchcap_khk";
_x addGoggles "G_Shades_Red";

comment "Add weapons";
_x addWeapon "arifle_Mk20_GL_ACO_F";
_x addPrimaryWeaponItem "acc_flashlight";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";
  [_x] call loadChange;
};
TAG_FNC_Engineer = 
{
  _x = _this select 0;
  
  comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_BG_Guerilla2_2";
_x addItemToUniform "FirstAidKit";
for "_i" from 1 to 3 do {_x addItemToUniform "MiniGrenade";};
_x addVest "V_PlateCarrierGL_mtp";
for "_i" from 1 to 5 do {_x addItemToVest "HandGrenade";};
for "_i" from 1 to 5 do {_x addItemToVest "SmokeShell";};
_x addItemToVest "SmokeShellGreen";
for "_i" from 1 to 2 do {_x addItemToVest "Chemlight_blue";};
for "_i" from 1 to 3 do {_x addItemToVest "11Rnd_45ACP_Mag";};
for "_i" from 1 to 3 do {_x addItemToVest "30Rnd_9x21_Red_Mag";};
_x addBackpack "B_TacticalPack_mcamo";
for "_i" from 1 to 2 do {_x addItemToBackpack "FirstAidKit";};
_x addItemToBackpack "SLAMDirectionalMine_Wire_Mag";
_x addItemToBackpack "APERSTripMine_Wire_Mag";
for "_i" from 1 to 2 do {_x addItemToBackpack "11Rnd_45ACP_Mag";};
for "_i" from 1 to 3 do {_x addItemToBackpack "16Rnd_9x21_Mag";};
_x addHeadgear "H_Beret_blk";
_x addGoggles "G_Bandanna_beast";

comment "Add weapons";
_x addWeapon "hgun_PDW2000_F";
_x addPrimaryWeaponItem "muzzle_snds_L";
_x addPrimaryWeaponItem "optic_Hamr";
_x addWeapon "hgun_Pistol_heavy_01_F";
_x addHandgunItem "muzzle_snds_acp";
_x addHandgunItem "optic_MRD";
_x addWeapon "Rangefinder";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";

  [_x] call loadChange;
};
TAG_FNC_AutoRifleman = 
{
  _x = _this select 0;

comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_BG_Guerilla2_1";
_x addItemToUniform "FirstAidKit";
_x addVest "V_PlateCarrierH_CTRG";
_x addItemToVest "FirstAidKit";

_x addItemToVest "200Rnd_65x39_cased_Box_Tracer";
for "_i" from 1 to 3 do {_x addItemToVest "MiniGrenade";};
for "_i" from 1 to 3 do {_x addItemToVest "SmokeShell";};
_x addBackpack "B_AssaultPack_Kerry";
for "_i" from 1 to 3 do {_x addItemToBackpack "200Rnd_65x39_cased_Box_Tracer";};
_x addHeadgear "H_Watchcap_khk";
_x addGoggles "G_Sport_Blackyellow";

comment "Add weapons";
_x addWeapon "LMG_Mk200_F";
_x addPrimaryWeaponItem "bipod_01_F_blk";
_x addPrimaryWeaponItem "acc_flashlight";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";
  [_x] call loadChange;
};

TAG_FNC_AT_Light = 
{
  _x = _this select 0;

comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_BG_Guerilla2_1";
_x addItemToUniform "FirstAidKit";
_x addItemToUniform "30Rnd_65x39_caseless_mag";
for "_i" from 1 to 3 do {_x addItemToUniform "Chemlight_red";};
_x addVest "V_HarnessO_gry";
for "_i" from 1 to 2 do {_x addItemToVest "FirstAidKit";};
for "_i" from 1 to 2 do {_x addItemToVest "100Rnd_65x39_caseless_mag_Tracer";};
for "_i" from 1 to 3 do {_x addItemToVest "30Rnd_65x39_caseless_mag";};
for "_i" from 1 to 3 do {_x addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_x addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_x addItemToVest "HandGrenade";};
_x addBackpack "B_FieldPack_cbr";
_x addItemToBackpack "FirstAidKit";
for "_i" from 1 to 3 do {_x addItemToBackpack "RPG32_HE_F";};
for "_i" from 1 to 5 do {_x addItemToBackpack "Chemlight_blue";};
for "_i" from 1 to 2 do {_x addItemToBackpack "SmokeShell";};
_x addHeadgear "H_Watchcap_blk";
_x addGoggles "G_Sport_Red";

comment "Add weapons";
_x addWeapon "arifle_MX_SW_F";
_x addPrimaryWeaponItem "acc_flashlight";
_x addPrimaryWeaponItem "optic_Arco";
_x addPrimaryWeaponItem "bipod_01_F_blk";
_x addWeapon "launch_RPG32_F";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";  
  [_x] call loadChange;
};

TAG_FNC_Pilot = 
{
  _x = _this select 0;

comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_BG_Guerilla2_2";
for "_i" from 1 to 3 do {_x addItemToUniform "FirstAidKit";};
_x addVest "V_Chestrig_blk";
for "_i" from 1 to 2 do {_x addItemToVest "FirstAidKit";};
for "_i" from 1 to 3 do {_x addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_x addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_x addItemToVest "HandGrenade";};
for "_i" from 1 to 5 do {_x addItemToVest "11Rnd_45ACP_Mag";};
_x addItemToVest "16Rnd_9x21_Mag";
_x addBackpack "B_AssaultPack_blk";
_x addItemToBackpack "FirstAidKit";
for "_i" from 1 to 3 do {_x addItemToBackpack "Chemlight_blue";};
for "_i" from 1 to 3 do {_x addItemToBackpack "SmokeShell";};
for "_i" from 1 to 5 do {_x addItemToBackpack "30Rnd_9x21_Red_Mag";};
for "_i" from 1 to 2 do {_x addItemToBackpack "MiniGrenade";};
for "_i" from 1 to 2 do {_x addItemToBackpack "HandGrenade";};
for "_i" from 1 to 2 do {_x addItemToBackpack "SmokeShellRed";};
for "_i" from 1 to 2 do {_x addItemToBackpack "SmokeShellOrange";};
for "_i" from 1 to 3 do {_x addItemToBackpack "Chemlight_green";};
for "_i" from 1 to 3 do {_x addItemToBackpack "Chemlight_red";};
_x addItemToBackpack "APERSTripMine_Wire_Mag";
_x addHeadgear "H_Cap_blk_CMMG";
_x addGoggles "G_Shades_Green";

comment "Add weapons";
_x addWeapon "hgun_PDW2000_F";
_x addPrimaryWeaponItem "muzzle_snds_L";
_x addPrimaryWeaponItem "optic_Hamr";
_x addWeapon "hgun_Pistol_heavy_01_F";
_x addHandgunItem "optic_MRD";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";    
  [_x] call loadChange;
};

TAG_FNC_AA = 
{
  _x = _this select 0;

comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_BG_Guerilla2_3";
for "_i" from 1 to 3 do {_x addItemToUniform "FirstAidKit";};
_x addVest "V_PlateCarrierGL_blk";
for "_i" from 1 to 2 do {_x addItemToVest "FirstAidKit";};
for "_i" from 1 to 3 do {_x addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_x addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_x addItemToVest "HandGrenade";};
for "_i" from 1 to 3 do {_x addItemToVest "16Rnd_9x21_Mag";};
for "_i" from 1 to 5 do {_x addItemToVest "16Rnd_9x21_yellow_Mag";};
_x addBackpack "B_FieldPack_oli";
_x addItemToBackpack "FirstAidKit";
for "_i" from 1 to 3 do {_x addItemToBackpack "Chemlight_blue";};
for "_i" from 1 to 3 do {_x addItemToBackpack "SmokeShell";};
for "_i" from 1 to 2 do {_x addItemToBackpack "MiniGrenade";};
for "_i" from 1 to 2 do {_x addItemToBackpack "HandGrenade";};
for "_i" from 1 to 2 do {_x addItemToBackpack "SmokeShellRed";};
for "_i" from 1 to 2 do {_x addItemToBackpack "SmokeShellOrange";};
for "_i" from 1 to 3 do {_x addItemToBackpack "Chemlight_green";};
for "_i" from 1 to 5 do {_x addItemToBackpack "30Rnd_9x21_Red_Mag";};
_x addItemToBackpack "SLAMDirectionalMine_Wire_Mag";
_x addItemToBackpack "IEDLandSmall_Remote_Mag";
_x addHeadgear "H_Cap_blk_ION";
_x addGoggles "G_Shades_Green";

comment "Add weapons";
_x addWeapon "SMG_02_F";
_x addPrimaryWeaponItem "muzzle_snds_L";
_x addPrimaryWeaponItem "acc_flashlight";
_x addPrimaryWeaponItem "optic_MRCO";
_x addWeapon "hgun_P07_F";
_x addHandgunItem "muzzle_snds_L";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";
  [_x] call loadChange;
};

TAG_FNC_SpecialF = 
{
  _x = _this select 0;


comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_B_CTRG_3";
for "_i" from 1 to 2 do {_x addItemToUniform "30Rnd_9x21_Red_Mag";};
for "_i" from 1 to 2 do {_x addItemToUniform "SmokeShell";};
_x addVest "V_PlateCarrierSpec_rgr";
for "_i" from 1 to 2 do {_x addItemToVest "FirstAidKit";};
for "_i" from 1 to 3 do {_x addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_x addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_x addItemToVest "HandGrenade";};
for "_i" from 1 to 2 do {_x addItemToVest "16Rnd_9x21_yellow_Mag";};
for "_i" from 1 to 3 do {_x addItemToVest "Chemlight_blue";};
_x addBackpack "B_Carryall_oli";
_x addItemToBackpack "FirstAidKit";
_x addItemToBackpack "MineDetector";
for "_i" from 1 to 4 do {_x addItemToBackpack "30Rnd_9x21_Mag";};
for "_i" from 1 to 4 do {_x addItemToBackpack "16Rnd_9x21_yellow_Mag";};
for "_i" from 1 to 2 do {_x addItemToBackpack "MiniGrenade";};
for "_i" from 1 to 2 do {_x addItemToBackpack "HandGrenade";};
for "_i" from 1 to 2 do {_x addItemToBackpack "IEDLandBig_Remote_Mag";};
_x addHeadgear "H_Booniehat_oli";
_x addGoggles "G_Shades_Green";

comment "Add weapons";
_x addWeapon "SMG_02_F";
_x addPrimaryWeaponItem "muzzle_snds_L";
_x addPrimaryWeaponItem "acc_flashlight";
_x addPrimaryWeaponItem "optic_Hamr";
_x addWeapon "hgun_P07_F";
_x addHandgunItem "muzzle_snds_L";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";
  [_x] call loadChange;
};

TAG_FNC_AT_Heavy = 
{
  _x = _this select 0;

comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_BG_leader";
_x addItemToUniform "FirstAidKit";
for "_i" from 1 to 2 do {_x addItemToUniform "SmokeShell";};
_x addItemToUniform "16Rnd_9x21_Mag";
_x addItemToUniform "30Rnd_65x39_caseless_mag_Tracer";
_x addVest "V_PlateCarrierGL_mtp";
_x addItemToVest "MineDetector";
_x addItemToVest "UGL_FlareCIR_F";
for "_i" from 1 to 4 do {_x addItemToVest "30Rnd_65x39_caseless_mag_Tracer";};
for "_i" from 1 to 2 do {_x addItemToVest "HandGrenade";};
_x addBackpack "B_Carryall_mcamo";
_x addItemToBackpack "MineDetector";
for "_i" from 1 to 3 do {_x addItemToBackpack "RPG32_HE_F";};
for "_i" from 1 to 5 do {_x addItemToBackpack "3Rnd_HE_Grenade_shell";};
for "_i" from 1 to 2 do {_x addItemToBackpack "3Rnd_UGL_FlareWhite_F";};
for "_i" from 1 to 2 do {_x addItemToBackpack "3Rnd_Smoke_Grenade_shell";};
for "_i" from 1 to 4 do {_x addItemToBackpack "30Rnd_9x21_Red_Mag";};
_x addHeadgear "H_Booniehat_mcamo";
_x addGoggles "G_Shades_Green";

comment "Add weapons";
_x addWeapon "arifle_MX_GL_Black_F";
_x addPrimaryWeaponItem "acc_flashlight";
_x addPrimaryWeaponItem "optic_Hamr";
_x addWeapon "launch_RPG32_F";
_x addWeapon "hgun_P07_F";
_x addHandgunItem "muzzle_snds_L";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";  
  [_x] call loadChange;
};

TAG_FNC_Marksman = 
{
  _x = _this select 0;

comment "Exported from Arsenal by Dr Death jm";

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

comment "Add containers";
_x forceAddUniform "U_B_FullGhillie_sard";
for "_i" from 1 to 2 do {_x addItemToUniform "FirstAidKit";};
for "_i" from 1 to 2 do {_x addItemToUniform "SmokeShell";};
for "_i" from 1 to 3 do {_x addItemToUniform "11Rnd_45ACP_Mag";};
_x addItemToUniform "30Rnd_65x39_caseless_mag_Tracer";
_x addVest "V_PlateCarrier_Kerry";
for "_i" from 1 to 4 do {_x addItemToVest "30Rnd_65x39_caseless_mag_Tracer";};
for "_i" from 1 to 4 do {_x addItemToVest "11Rnd_45ACP_Mag";};
for "_i" from 1 to 5 do {_x addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_x addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_x addItemToVest "HandGrenade";};
_x addHeadgear "H_HelmetSpecB_blk";
_x addGoggles "G_Bandanna_sport";

comment "Add weapons";
_x addWeapon "arifle_MXM_Black_F";
_x addPrimaryWeaponItem "muzzle_snds_H";
_x addPrimaryWeaponItem "acc_pointer_IR";
_x addPrimaryWeaponItem "optic_Nightstalker";
_x addPrimaryWeaponItem "bipod_01_F_blk";
_x addWeapon "hgun_Pistol_heavy_01_F";
_x addHandgunItem "optic_MRD";
_x addWeapon "Rangefinder";

comment "Add items";
_x linkItem "ItemMap";
_x linkItem "ItemCompass";
_x linkItem "ItemWatch";
_x linkItem "ItemRadio";

  [_x] call loadChange;
};

TAG_FNC_Marks_man2 = 
{
  _x = _this select 0;

comment "Remove existing items";
removeAllWeapons _x;
removeAllItems _x;
removeAllAssignedItems _x;
removeUniform _x;
removeVest _x;
removeBackpack _x;
removeHeadgear _x;
removeGoggles _x;
clearMagazineCargo _x;
clearBackpackCargo _x;
clearItemCargo _x;
clearWeaponCargo _x;
while {count magazines _x > 0} do {
_x removeMagazines ((magazines player) select 0);
};

  _x addHeadgear "H_HelmetB";
  _x forceAddUniform "U_B_CTRG_1";
  _x addVest "V_PlateCarrier_Kerry";
  _x addBackPack "B_AssaultPack_blk";
  
  _x addItem "FirstAidKit";
  _x addWeapon "rangefinder";
  _x addWeapon "itemGps";
  
  //_x addItemToVest "hgun_Rook40_F";
  //_x addItemToVest ["30Rnd_9x21_Mag",3];
  (unitBackpack _x) addMagazineCargo ["HandGrenade",2];
  (unitBackpack _x) addMagazineCargo ["smokeshell",5];
  (unitBackpack _x) addMagazineCargo ["Chemlight_blue",5];
  [_x, "srifle_GM6_F" ,15 ,"5Rnd_127x108_APDS_Mag"] call BIS_fnc_addWeapon;
  [_x, "hgun_Pistol_heavy_01_snds_F" ,8 ,"11Rnd_45ACP_Mag"] call BIS_fnc_addWeapon;
  _x addPrimaryWeaponItem "optic_SOS";
  _x addPrimaryWeaponItem "optic_AMS";
  _x addPrimaryWeaponItem "bipod_01_F_blk";
  _x addPrimaryWeaponItem "acc_flashlight";
  
  [_x] call loadChange;
};
Edited by dr death jm

Share this post


Link to post
Share on other sites

 

removeAllWeapons _x;

removeAllItems _x;

removeAllAssignedItems _x;

removeUniform _x;

removeVest _x;

removeBackpack _x;

removeHeadgear _x;

removeGoggles _x;

clearMagazineCargo _x;

clearBackpackCargo _x;

clearItemCargo _x;

clearWeaponCargo _x;

while {count magazines _x > 0} do {

_x removeMagazines ((magazines player) select 0); //Just noticed this maybe my problem//

};

 

Your loop will never fire with such condition  because you have removed all containers first.

 

 

clearMagazineCargo _x;

clearBackpackCargo _x;

clearItemCargo _x;

clearWeaponCargo _x;

 

this part as well

Share this post


Link to post
Share on other sites

Thanks davidoss, ill switch things around and edit when i get home from work. Ill post my results.

Share this post


Link to post
Share on other sites

Yeah rewrite it.

 

For the record, for my eyes all of them should looks like this one:

TAG_FNC_Rifleman = {

    params ["_unit"];
    
    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;
    _unit forceAddUniform "U_BG_Guerilla1_1";
    for "_i" from 1 to 2 do {_unit addItemToUniform "FirstAidKit";};
    _unit addVest "V_TacVestIR_blk";
    _unit addItemToVest "FirstAidKit";
    for "_i" from 1 to 5 do {_unit addItemToVest "30Rnd_556x45_Stanag_Tracer_Green";};
    for "_i" from 1 to 3 do {_unit addItemToVest "SmokeShell";};
    for "_i" from 1 to 3 do {_unit addItemToVest "Chemlight_blue";};
    for "_i" from 1 to 2 do {_unit addItemToVest "MiniGrenade";};
    for "_i" from 1 to 3 do {_unit addItemToVest "HandGrenade";};
    _unit addHeadgear "H_Watchcap_khk";
    _unit addGoggles "G_Balaclava_combat";
    _unit addWeapon "arifle_TRG21_F";
    _unit addPrimaryWeaponItem "acc_flashlight";
    _unit addPrimaryWeaponItem "optic_ACO_grn";
    _unit linkItem "ItemMap";
    _unit linkItem "ItemCompass";
    _unit linkItem "ItemWatch";
    _unit linkItem "ItemRadio";
    [_unit] call loadChange; //if fnc loadchange is expecting array, else:
//  _unit call loadChange;
};

Share this post


Link to post
Share on other sites

oops I gues posting what I was doing will be no good.. ill try yours thanks ..

Share this post


Link to post
Share on other sites

I'm still working out the bugs, it seams I need to have all sides start out with a load out .. because the warning/errors are still there ...

the load out ive posted is just to the menu (players not ai)..

 

basic of what I have .

load out for fia,

TAG_FNC_Rifleman = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;
	
_unit forceAddUniform "U_BG_Guerilla1_1";
for "_i" from 1 to 2 do {_unit addItemToUniform "FirstAidKit";};
_unit addVest "V_TacVestIR_blk";
for "_i" from 1 to 5 do {_unit addItemToVest "30Rnd_556x45_Stanag_Tracer_Green";};
for "_i" from 1 to 3 do {_unit addItemToVest "SmokeShell";};
for "_i" from 1 to 3 do {_unit addItemToVest "Chemlight_blue";};
for "_i" from 1 to 2 do {_unit addItemToVest "MiniGrenade";};
for "_i" from 1 to 3 do {_unit addItemToVest "HandGrenade";};
_unit addHeadgear "H_Watchcap_khk";
_unit addGoggles "G_Balaclava_combat";

_unit addWeapon "arifle_TRG21_ACO_pointer_F";
_unit addPrimaryWeaponItem "acc_flashlight";

_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";
[_unit] call loadChange;
};

TAG_FNC_Grenadier = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_BG_Guerrilla_6_1";
for "_i" from 1 to 2 do {_unit addItemToUniform "FirstAidKit";};
_unit addItemToUniform "HandGrenade";
_unit addVest "V_HarnessOGL_brn";
for "_i" from 1 to 5 do {_unit addItemToVest "30Rnd_556x45_Stanag_Tracer_Green";};
for "_i" from 1 to 5 do {_unit addItemToVest "1Rnd_HE_Grenade_shell";};
for "_i" from 1 to 3 do {_unit addItemToVest "UGL_FlareGreen_F";};
for "_i" from 1 to 3 do {_unit addItemToVest "1Rnd_Smoke_Grenade_shell";};
for "_i" from 1 to 2 do {_unit addItemToVest "MiniGrenade";};
_unit addHeadgear "H_Watchcap_khk";
_unit addGoggles "G_Shades_Red";

_unit addWeapon "arifle_Mk20_GL_ACO_F";
_unit addPrimaryWeaponItem "acc_flashlight";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";

[_unit] call loadChange;

};

TAG_FNC_Engineer = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_BG_Guerilla2_2";
_unit addItemToUniform "FirstAidKit";
for "_i" from 1 to 3 do {_unit addItemToUniform "MiniGrenade";};
_unit addVest "V_PlateCarrierGL_mtp";
for "_i" from 1 to 5 do {_unit addItemToVest "HandGrenade";};
for "_i" from 1 to 5 do {_unit addItemToVest "SmokeShell";};
_unit addItemToVest "SmokeShellGreen";
for "_i" from 1 to 2 do {_unit addItemToVest "Chemlight_blue";};
for "_i" from 1 to 3 do {_unit addItemToVest "11Rnd_45ACP_Mag";};
for "_i" from 1 to 3 do {_unit addItemToVest "30Rnd_9x21_Red_Mag";};
_unit addBackpack "B_TacticalPack_mcamo";
for "_i" from 1 to 2 do {_unit addItemToBackpack "FirstAidKit";};
_unit addItemToBackpack "SLAMDirectionalMine_Wire_Mag";
_unit addItemToBackpack "APERSTripMine_Wire_Mag";
for "_i" from 1 to 2 do {_unit addItemToBackpack "11Rnd_45ACP_Mag";};
for "_i" from 1 to 3 do {_unit addItemToBackpack "16Rnd_9x21_Mag";};
_unit addHeadgear "H_Beret_blk";
_unit addGoggles "G_Bandanna_beast";
_unit addWeapon "hgun_PDW2000_F";
_unit addPrimaryWeaponItem "muzzle_snds_L";
_unit addPrimaryWeaponItem "optic_Hamr";
_unit addWeapon "hgun_Pistol_heavy_01_F";
_unit addHandgunItem "muzzle_snds_acp";
_unit addHandgunItem "optic_MRD";
_unit addWeapon "Rangefinder";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";

[_unit] call loadChange;

};

TAG_FNC_AutoRifleman = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_BG_Guerilla2_1";
_unit addItemToUniform "FirstAidKit";
_unit addVest "V_PlateCarrierH_CTRG";
_unit addItemToVest "FirstAidKit";

_unit addItemToVest "200Rnd_65x39_cased_Box_Tracer";
for "_i" from 1 to 3 do {_unit addItemToVest "MiniGrenade";};
for "_i" from 1 to 3 do {_unit addItemToVest "SmokeShell";};
_unit addBackpack "B_AssaultPack_Kerry";
for "_i" from 1 to 3 do {_unit addItemToBackpack "200Rnd_65x39_cased_Box_Tracer";};
_unit addHeadgear "H_Watchcap_khk";
_unit addGoggles "G_Sport_Blackyellow";
_unit addWeapon "LMG_Mk200_F";
_unit addPrimaryWeaponItem "bipod_01_F_blk";
_unit addPrimaryWeaponItem "acc_flashlight";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";

[_unit] call loadChange;

};

TAG_FNC_AT_Light = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_BG_Guerilla2_1";
_unit addItemToUniform "FirstAidKit";
_unit addItemToUniform "30Rnd_65x39_caseless_mag";
for "_i" from 1 to 3 do {_unit addItemToUniform "Chemlight_red";};
_unit addVest "V_HarnessO_gry";
for "_i" from 1 to 2 do {_unit addItemToVest "FirstAidKit";};
for "_i" from 1 to 2 do {_unit addItemToVest "100Rnd_65x39_caseless_mag_Tracer";};
for "_i" from 1 to 3 do {_unit addItemToVest "30Rnd_65x39_caseless_mag";};
for "_i" from 1 to 3 do {_unit addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_unit addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_unit addItemToVest "HandGrenade";};
_unit addBackpack "B_FieldPack_cbr";
_unit addItemToBackpack "FirstAidKit";
for "_i" from 1 to 3 do {_unit addItemToBackpack "RPG32_HE_F";};
for "_i" from 1 to 5 do {_unit addItemToBackpack "Chemlight_blue";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "SmokeShell";};
_unit addHeadgear "H_Watchcap_blk";
_unit addGoggles "G_Sport_Red";
_unit addWeapon "arifle_MX_SW_F";
_unit addPrimaryWeaponItem "acc_flashlight";
_unit addPrimaryWeaponItem "optic_Arco";
_unit addPrimaryWeaponItem "bipod_01_F_blk";
_unit addWeapon "launch_RPG32_F";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio"; 
 
[_unit] call loadChange;

};

TAG_FNC_Pilot = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_BG_Guerilla2_2";
for "_i" from 1 to 3 do {_unit addItemToUniform "FirstAidKit";};
_unit addVest "V_Chestrig_blk";
for "_i" from 1 to 2 do {_unit addItemToVest "FirstAidKit";};
for "_i" from 1 to 3 do {_unit addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_unit addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_unit addItemToVest "HandGrenade";};
for "_i" from 1 to 5 do {_unit addItemToVest "11Rnd_45ACP_Mag";};
_unit addItemToVest "16Rnd_9x21_Mag";
_unit addBackpack "B_AssaultPack_blk";
_unit addItemToBackpack "FirstAidKit";
for "_i" from 1 to 3 do {_unit addItemToBackpack "Chemlight_blue";};
for "_i" from 1 to 3 do {_unit addItemToBackpack "SmokeShell";};
for "_i" from 1 to 5 do {_unit addItemToBackpack "30Rnd_9x21_Red_Mag";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "MiniGrenade";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "HandGrenade";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "SmokeShellRed";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "SmokeShellOrange";};
for "_i" from 1 to 3 do {_unit addItemToBackpack "Chemlight_green";};
for "_i" from 1 to 3 do {_unit addItemToBackpack "Chemlight_red";};
_unit addItemToBackpack "APERSTripMine_Wire_Mag";
_unit addHeadgear "H_Cap_blk_CMMG";
_unit addGoggles "G_Shades_Green";
_unit addWeapon "hgun_PDW2000_F";
_unit addPrimaryWeaponItem "muzzle_snds_L";
_unit addPrimaryWeaponItem "optic_Hamr";
_unit addWeapon "hgun_Pistol_heavy_01_F";
_unit addHandgunItem "optic_MRD";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";  
  
[_unit] call loadChange;

};

TAG_FNC_AA = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_BG_Guerilla2_3";
for "_i" from 1 to 3 do {_unit addItemToUniform "FirstAidKit";};
_unit addVest "V_PlateCarrierGL_blk";
for "_i" from 1 to 2 do {_unit addItemToVest "FirstAidKit";};
for "_i" from 1 to 3 do {_unit addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_unit addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_unit addItemToVest "HandGrenade";};
for "_i" from 1 to 3 do {_unit addItemToVest "16Rnd_9x21_Mag";};
for "_i" from 1 to 5 do {_unit addItemToVest "16Rnd_9x21_yellow_Mag";};
_unit addBackpack "B_FieldPack_oli";
_unit addItemToBackpack "FirstAidKit";
for "_i" from 1 to 3 do {_unit addItemToBackpack "Chemlight_blue";};
for "_i" from 1 to 3 do {_unit addItemToBackpack "SmokeShell";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "MiniGrenade";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "HandGrenade";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "SmokeShellRed";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "SmokeShellOrange";};
for "_i" from 1 to 3 do {_unit addItemToBackpack "Chemlight_green";};
for "_i" from 1 to 5 do {_unit addItemToBackpack "30Rnd_9x21_Red_Mag";};
_unit addItemToBackpack "SLAMDirectionalMine_Wire_Mag";
_unit addItemToBackpack "IEDLandSmall_Remote_Mag";
_unit addHeadgear "H_Cap_blk_ION";
_unit addGoggles "G_Shades_Green";
_unit addWeapon "SMG_02_F";
_unit addPrimaryWeaponItem "muzzle_snds_L";
_unit addPrimaryWeaponItem "acc_flashlight";
_unit addPrimaryWeaponItem "optic_MRCO";
_unit addWeapon "hgun_P07_F";
_unit addHandgunItem "muzzle_snds_L";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";
[_unit] call loadChange;
};

TAG_FNC_SpecialF = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_B_CTRG_3";
for "_i" from 1 to 2 do {_unit addItemToUniform "30Rnd_9x21_Red_Mag";};
for "_i" from 1 to 2 do {_unit addItemToUniform "SmokeShell";};
_unit addVest "V_PlateCarrierSpec_rgr";
for "_i" from 1 to 2 do {_unit addItemToVest "FirstAidKit";};
for "_i" from 1 to 3 do {_unit addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_unit addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_unit addItemToVest "HandGrenade";};
for "_i" from 1 to 2 do {_unit addItemToVest "16Rnd_9x21_yellow_Mag";};
for "_i" from 1 to 3 do {_unit addItemToVest "Chemlight_blue";};
_unit addBackpack "B_Carryall_oli";
_unit addItemToBackpack "FirstAidKit";
_unit addItemToBackpack "MineDetector";
for "_i" from 1 to 4 do {_unit addItemToBackpack "30Rnd_9x21_Mag";};
for "_i" from 1 to 4 do {_unit addItemToBackpack "16Rnd_9x21_yellow_Mag";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "MiniGrenade";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "HandGrenade";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "IEDLandBig_Remote_Mag";};
_unit addHeadgear "H_Booniehat_oli";
_unit addGoggles "G_Shades_Green";
_unit addWeapon "SMG_02_F";
_unit addPrimaryWeaponItem "muzzle_snds_L";
_unit addPrimaryWeaponItem "acc_flashlight";
_unit addPrimaryWeaponItem "optic_Hamr";
_unit addWeapon "hgun_P07_F";
_unit addHandgunItem "muzzle_snds_L";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";

[_unit] call loadChange;

};

TAG_FNC_AT_Heavy = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_BG_leader";
_unit addItemToUniform "FirstAidKit";
for "_i" from 1 to 2 do {_unit addItemToUniform "SmokeShell";};
_unit addItemToUniform "16Rnd_9x21_Mag";
_unit addItemToUniform "30Rnd_65x39_caseless_mag_Tracer";
_unit addVest "V_PlateCarrierGL_mtp";
_unit addItemToVest "MineDetector";
_unit addItemToVest "UGL_FlareCIR_F";
for "_i" from 1 to 4 do {_unit addItemToVest "30Rnd_65x39_caseless_mag_Tracer";};
for "_i" from 1 to 2 do {_unit addItemToVest "HandGrenade";};
_unit addBackpack "B_Carryall_mcamo";
_unit addItemToBackpack "MineDetector";
for "_i" from 1 to 3 do {_unit addItemToBackpack "RPG32_HE_F";};
for "_i" from 1 to 5 do {_unit addItemToBackpack "3Rnd_HE_Grenade_shell";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "3Rnd_UGL_FlareWhite_F";};
for "_i" from 1 to 2 do {_unit addItemToBackpack "3Rnd_Smoke_Grenade_shell";};
for "_i" from 1 to 4 do {_unit addItemToBackpack "30Rnd_9x21_Red_Mag";};
_unit addHeadgear "H_Booniehat_mcamo";
_unit addGoggles "G_Shades_Green";
_unit addWeapon "arifle_MX_GL_Black_F";
_unit addPrimaryWeaponItem "acc_flashlight";
_unit addPrimaryWeaponItem "optic_Hamr";
_unit addWeapon "launch_RPG32_F";
_unit addWeapon "hgun_P07_F";
_unit addHandgunItem "muzzle_snds_L";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";  
[_unit] call loadChange;
};

TAG_FNC_Marksman = 
{
  params ["_unit"];

    removeAllWeapons _unit;
    removeAllItems _unit;
    removeAllAssignedItems _unit;
    removeUniform _unit;
    removeVest _unit;
    removeBackpack _unit;
    removeHeadgear _unit;
    removeGoggles _unit;

_unit forceAddUniform "U_B_FullGhillie_sard";
for "_i" from 1 to 2 do {_unit addItemToUniform "FirstAidKit";};
for "_i" from 1 to 2 do {_unit addItemToUniform "SmokeShell";};
for "_i" from 1 to 3 do {_unit addItemToUniform "11Rnd_45ACP_Mag";};
_unit addItemToUniform "30Rnd_65x39_caseless_mag_Tracer";
_unit addVest "V_PlateCarrier_Kerry";
for "_i" from 1 to 4 do {_unit addItemToVest "30Rnd_65x39_caseless_mag_Tracer";};
for "_i" from 1 to 4 do {_unit addItemToVest "11Rnd_45ACP_Mag";};
for "_i" from 1 to 5 do {_unit addItemToVest "SmokeShell";};
for "_i" from 1 to 2 do {_unit addItemToVest "MiniGrenade";};
for "_i" from 1 to 2 do {_unit addItemToVest "HandGrenade";};
_unit addHeadgear "H_HelmetSpecB_blk";
_unit addGoggles "G_Bandanna_sport";
_unit addWeapon "arifle_MXM_Black_F";
_unit addPrimaryWeaponItem "muzzle_snds_H";
_unit addPrimaryWeaponItem "acc_pointer_IR";
_unit addPrimaryWeaponItem "optic_Nightstalker";
_unit addPrimaryWeaponItem "bipod_01_F_blk";
_unit addWeapon "hgun_Pistol_heavy_01_F";
_unit addHandgunItem "optic_MRD";
_unit addWeapon "Rangefinder";
_unit linkItem "ItemMap";
_unit linkItem "ItemRadio";

[_unit] call loadChange;

};

Share this post


Link to post
Share on other sites

As i already told you this warning can show up without any loadout scripts, comes directly from configfile, where units and his gears are defined.

  • Like 1

Share this post


Link to post
Share on other sites

Don't know if that helps but anyway try this

waitUntil {!isNull player};

_unit = _this select 0;

Your Arsenal loadout script

if(true) exitWith{};

In init field of player:

null = [this] execVM "loadouts\loadout.sqf";   this addeventhandler ["respawn","_this execVM 'loadouts\loadout.sqf'"];
  • Like 1

Share this post


Link to post
Share on other sites

As i already told you this warning can show up without any loadout scripts, comes directly from configfile, where units and his gears are defined.

I understand ( partly) ... what I don't understand is "are you saying" it is a bis issue that cant be fixed until bis fixes there configs ?

Share this post


Link to post
Share on other sites

 

Don't know if that helps but anyway try this

waitUntil {!isNull player};

_unit = _this select 0;

Your Arsenal loadout script

if(true) exitWith{};

In init field of player:

null = [this] execVM "loadouts\loadout.sqf";   this addeventhandler ["respawn","_this execVM 'loadouts\loadout.sqf'"];

I tried something like this ,

 

 init="_nil = this execVM ""ZKS\Revive\INIT_Start.sqf"";[this]call compile preprocessFileLineNumbers""scripts\wests.sqf"";this addeventhandler [""respawn"",""_this execVM 'scripts\wests.sqf'""];";

(mind the dubble "" I pasted this from my sqm)

 

Share this post


Link to post
Share on other sites

I understand ( partly) ... what I don't understand is "are you saying" it is a bis issue that cant be fixed until bis fixes there configs ?

Yes. Exactly that. When you spawn a unit, the game looks into the config for that unit and gets his loadout from that. If it contains more magazines than his uniform has space for, you'll see this error.

Share this post


Link to post
Share on other sites

Right this is a BIS error and has been known for quite some time (and never fixed). Happens even with vanilla. Nothing you're doing causes it from what I've been told.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×