Page MenuHomeFeedback Tracker

Change currentMagazineDetail to return Array
New, WishlistPublic

Description

Currently currentMagazineDetail returns a string such as
"6.5mm 30Rnd STANAG Mag(30/30)[id:0]"

An array [string magazine type, int current ammo, int maxAmmo, id] would be more useful in most if not all use cases for this function.

The same could be done for https://community.bistudio.com/wiki/magazinesDetail to return an array of arrays.

Details

Legacy ID
499423507
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Scripting

Event Timeline

Elvaron edited Steps To Reproduce. (Show Details)Oct 12 2014, 9:10 PM
Elvaron edited Additional Information. (Show Details)
Elvaron set Category to Scripting.
Elvaron set Reproducibility to N/A.
Elvaron set Severity to None.
Elvaron set Resolution to Open.
Elvaron set Legacy ID to 499423507.May 7 2016, 7:35 PM
NikkoJT added a subscriber: NikkoJT.Apr 1 2023, 4:58 PM

Ideally all similar magazine detail commands should get this improvement, presumably not as main syntax for back compat but as an alt syntax.

SaMatra added a subscriber: SaMatra.Apr 1 2023, 4:59 PM