OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Mr.Peanut on 15 Sep 2008, 15:44:58

Title: addMagazines bug in unit init
Post by: Mr.Peanut on 15 Sep 2008, 15:44:58
I recently had a west grenadier unit to which I added M9 mags in the unit init. For some reason the M9 mags stack on top of the HE nades in the secondary ammo slots.  Not only that, but IIRC I could over stack quite a lot of M9 ammo. Has anyone else noticed this oddity in general or with specific units? And why the hell do HE nades go in sidearm ammo slots? :blink:
Title: Re: addMagazines bug in unit init
Post by: Spooner on 15 Sep 2008, 16:15:08
There is absolutely no capacity checking when using addWeapon or addMagazine. This needs to be done manually, which isn't as simple as it could be (see SPON Money (http://www.ofpec.com/forum/index.php?topic=30551)) ;(