BIS fnc compatibleItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \|(\[\[[a-zA-Z]+\]\].+) * \|x1=" to " |r1= $1 |x1=")
Line 12: Line 12:
|p1= weapon: [[String]] - Weapon class
|p1= weapon: [[String]] - Weapon class


|[[Array]] - of [[String|strings]]
|r1= [[Array]] - of [[String|strings]]


|x1= <code>([[currentWeapon]] [[player]]) [[call]] [[BIS_fnc_compatibleItems]];</code>
|x1= <code>([[currentWeapon]] [[player]]) [[call]] [[BIS_fnc_compatibleItems]];</code>

Revision as of 17:16, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Inventory

Syntax

Syntax:
Syntax needed
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