Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
thelegendarykhan

Virtual Arsenal export code not working

Recommended Posts

OK so I choose the desired loadout in VA, Export it, Paste it in my unit's init hoping he will wear it since mission start. In editor preview he does spawn with that gear, but I donno what happens when I start my mission through scenarios selection screen, he spawns with a vest and brief. :/

btw, the "trimmed" code is (after removing comments):

removeAllWeapons this;  removeAllItems this;  removeAllAssignedItems this;  removeUniform this;  removeVest this;  removeBackpack this; removeHeadgear this;  removeGoggles this; 
this forceAddUniform "U_B_CTRG_2";  this addItemToUniform "FirstAidKit";
this addItemToUniform "SmokeShellRed";  this addVest "V_PlateCarrierL_CTRG";
this addItemToVest "SmokeShell"; this addItemToVest "SmokeShellGreen";
for "_i" from 1 to 2 do {this addItemToVest "Chemlight_green";};
for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";};
for "_i" from 1 to 3 do {this addItemToVest "12Rnd_mas_45acp_Mag";};
this addBackpack "B_Carryall_mcamo";  for "_i" from 1 to 4 do {this addItemToBackpack "FirstAidKit";};
for "_i" from 1 to 3 do {this addItemToBackpack "12Rnd_mas_45acp_Mag";};
for "_i" from 1 to 3 do {this addItemToBackpack "20Rnd_762x51_Mag";};
for "_i" from 1 to 2 do {this addItemToBackpack "20Rnd_mas_762x51_Stanag";};
for "_i" from 1 to 4 do {this addItemToBackpack "HandGrenade";};  this addItemToBackpack "SmokeShell";
this addItemToBackpack "NLAW_F";  this addHeadgear "H_Watchcap_khk";
this addGoggles "G_Tactical_Clear";    comment "Add weapons";  this addWeapon "srifle_mas_m110";
this addPrimaryWeaponItem "muzzle_mas_snds_SMc";this addPrimaryWeaponItem "acc_pointer_IR";
this addPrimaryWeaponItem "optic_mas_Arco_camo";  this addWeapon "launch_NLAW_F";
this addWeapon "hgun_mas_glocksf_F";  this addHandgunItem "optic_Yorris";
this addWeapon "Rangefinder";    comment "Add items";
this linkItem "ItemMap";  this linkItem "ItemCompass";  this linkItem "ItemWatch";
this linkItem "ItemRadio";  this linkItem "ItemGPS"; 
comment "Set identity";  this setFace "PersianHead_A3_01";  this setSpeaker "Male02GRE";

Is it possible to tweak it in the unit's init line itself without going for the loadout.sqf way? Thanks.

Edited by TheLegendaryKhan

Share this post


Link to post
Share on other sites
Sign in to follow this  

×