Ok, i have been up all night trawling the forums and trying to get this to work, i'm more stressed than Saddam Hussain's insurance company and i'm in need of a problem fix ASAP!!
*Realises the keys won't take much more of this punishment and takes a deep breath*
Sit rep: East ammo crate, West ammo crate........East ammo crate script, West ammo crate script........i place East crate with command
[] exec "AmmoE.sqs" in init field, works fine........i delete that crate........i place West ammo crate with command
[] exec "AmmoW.sqs" in init field, works fine........i replace the East ammo crate and init command and i only get the East crate with weapons in........West crate has M-16 mags and grenades....
....HELP!!!
Here are the scripts:
;---------------------------------------------------------------------
;AmmoE.sqs
;Clear Ammo Crate
clearWeaponCargo this;
clearMagazineCargo this;;AK-103
this addweaponcargo ["kegak103", 100];
this addmagazinecargo ["KEGak103Mag", 500];;AK-107
this addweaponcargo ["kegak107", 100];
this addmagazinecargo ["KEGak107Mag", 500];;RPK-74
this addweaponcargo ["kegrpk74", 50];
this addmagazinecargo ["KEGrpk74Mag", 300];;------------------------------------------------------------------------
;------------------------------------------------------------------------
;AmmoW.sqs
;Clear Ammo Crate
clearWeaponCargo this;
clearMagazineCargo this;;M4 ACOG Des
this addweaponcargo ["BAS_M4desACOG", 100];
this addmagazinecargo ["BAS_M4Mag", 500];;M4 ACOG Des Silenced
this addweaponcargo ["BAS_M4desACOGS", 100];
this addmagazinecargo ["BAS_M4SMag", 500];;M4 ACOG Des Masterkey
this addweaponcargo ["BAS_M4desMKACOG", 100];
this addmagazinecargo ["BAS_M4Mag", 500];
this addmagazinecargo ["BAS_MKshell", 500];;-------------------------------------------------------------------------
Where am i going wrong
I thought maybe it was the ammount of weapons and mags but i get the same result with 1 gun and 5 mags in each box :-\
Just so you know....i intend to have 3 crates for each side so your solution must be workable with multiple crates on the same side running the same script!
I have also tried it without the clear ammo crate part to no avail........I have a feeling this is wrong too as i still get M-16 mags and nades :-\
Please, please, please help me!!!!
Please