BIS fnc compatibleItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " {3,}\|" to " |")
Line 8: Line 8:


| Return all compatible weapon attachments.
| Return all compatible weapon attachments.


|  weapon call [[BIS_fnc_compatibleItems]]
|  weapon call [[BIS_fnc_compatibleItems]]

Revision as of 23:39, 18 January 2021

Hover & click on the images for description

Description

Description:
Return all compatible weapon attachments.
Execution:
call
Groups:
Inventory

Syntax

Syntax:
weapon call BIS_fnc_compatibleItems
Parameters:
weapon: String - Weapon class
Return Value:
Array - of strings

Examples

Example 1:
(currentWeapon player) call BIS_fnc_compatibleItems;

Additional Information

See also:
currentWeaponBIS_fnc_limitWeaponItemsBIS_fnc_baseWeapon

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note