Page MenuHomeFeedback Tracker

BIS_fnc_compatibleItems returns suppressor classnames with lowercase end letter
Reviewed, NormalPublic

Description

BIS_fnc_compatibleItems will return suppressors with lowercase end letter such as muzzle_snds_b

BIS_fnc_compatibleItems = muzzle_snds_b

Now if you do something like primaryWeaponItems player you get muzzle_snds_B with a capital B.

So when you do case sensitive searches, such as using the find command on the BIS_fnc_compatibleItems array it will return false due to the letter being lowercase.

optic_Hamr is the same issue. Probably some others....

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce

Run BIS_fnc_compatibleItems to get compatible items for like a SPAR or something... Look at the array returned. Several lowercase... where it should be uppercase.

Event Timeline

tkcjesse created this task.Jul 4 2018, 10:13 PM
Wulf changed the task status from New to Reviewed.Jul 11 2018, 5:25 PM
Wulf added a subscriber: Wulf.

Hello.

Thank you for the report. We will have a look at it.