I've been able to create ammo crates from CamCreate with weapons and magazines added. However, when I get close to the crate during play I don't get any option of grabbing any of the items in the crate. What am I doing wrong? Sample code follows:
...
TitleText ["Box being created","PLAIN DOWN"]
_tgtPos = getmarkerpos "tgt"
_x = _tgtPos select 0
_y = _tgtPos select 1
myAmmo = "HeavyReammoBoxEast" CamCreate [_x,_y,1]
ClearWeaponCargo myAmmo
ClearMagazineCargo myAmmo
myAmmo AddWeaponCargo ["AT4Launcher",1]
myAmmo AddWeaponCargo ["AT4Launcher",1]
myAmmo AddWeaponCargo ["RPGLauncher",1]
myAmmo AddMagazineCargo ["AT4Launcher",4]
myAmmo AddMagazineCargo ["RPGLauncher",20]
myAmmo AddMagazineCargo ["AK74",20]
exit
...
Any help would be appreciated.
Thanks