here is a small part of my script (wich has this issue; this kind of script works fine on Arma2 though):
mission.sqm:
position[]={1698.2432,5.5,5647.019};
azimut=-183.77901;
special="NONE";
id=0;
side="WEST";
vehicle="B_Soldier_SL_F";
player="PLAYER COMMANDER";
leader=1;
rank="LIEUTENANT";
skill=0.60000002;
init="[""PL"", this] call compile preprocessFileLineNumbers ""Orbat\USINFkitout.sqf"";group this setGroupId [""1'6""]"; description="1 Platoon / Platoon Leader";
Gear script:
removeallweapons _unit;
removeallcontainers _unit;
removeallassigneditems _unit;
_unit addWeapon "ItemMap";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemWatch";
_unit addItem "FirstAidKit";
switch (_type) do
{
case "PL": { _unit adduniform "U_B_CombatUniform_mcam_vest"; _unit addvest "V_BandollierB_khk"; _unit addheadgear "H_MilCap_mcamo"; _unit addWeapon "ItemGPS"; _unit addMagazine "HandGrenade"; _unit addMagazine "HandGrenade"; _unit addMagazine "Smokeshell"; _unit addMagazine "SmokeshellRed"; _unit addMagazine "SmokeshellGreen"; _unit addMagazine "SmokeshellGreen"; for "_i" from 0 to 6 do {_unit addMagazine "30Rnd_65x39_caseless_mag"}; _unit addMagazine "30Rnd_65x39_caseless_mag_Tracer"; _unit addWeapon "arifle_MXC_ACO_point_grip_F"; _unit addItem "optic_Hamr"; };