Consider addition of enumWeapons and enumMagazines from 6thsense
Could use some generalization (RUCK and attachments system are included) but otherwise maybe interesting functions
Updated by Spooner about 6 years ago
What do they do though, to save me reading the whole code to work that out?
Updated by Sickboy about 6 years ago
Enumurate all weapons and fitting magazines, reading from the config.
It will also assign properties as to what kind of rifle it is, based on the class inheritance, weapon type and opticsZoom.
It will return this in a list as array. You can specify a specific rifle type, or none to fetch all.
Sounds like a nice base function for anything todo with weapons/magazines/ammoboxes etc.
And is actually being implemented, cross mod, http://dev-heaven.net/issues/show/2652 :D