Feature #2653

Consider addition of enumWeapons and enumMagazines from 6thsense

Added by Sickboy almost 8 years ago. Updated almost 8 years ago.

Status:New Start date:07/07/2009
Priority:Normal Due date:
Assignee:- % Done:


Category:Misc Functions
Target version:-
Component: Affected Version:
Close Reason:



Updated by Spooner almost 8 years ago

What do they do though, to save me reading the whole code to work that out?

Updated by Sickboy almost 8 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

Updated by Spooner almost 8 years ago

  • Category set to Misc Functions

Also available in: Atom PDF