Home   Help Search Login Register  

Author Topic: addMagazines bug in unit init  (Read 1025 times)

0 Members and 2 Guests are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
addMagazines bug in unit init
« 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:
urp!

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: addMagazines bug in unit init
« Reply #1 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) ;(
« Last Edit: 15 Sep 2008, 16:17:49 by Spooner »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)