BIS fnc compatibleItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (pf)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |[[Array]] - of [[String|strings]] |= Return value
|[[Array]] - of [[String|strings]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:37, 2 July 2018

Hover & click on the images for description

Description

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

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

Bottom Section