BIS fnc compatibleItems: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|(\[\[[a-zA-Z]+\]\].+) * \|x1=" to " |r1= $1 |x1=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.24 | |||
| | |gr1= Inventory | ||
| | |descr= Return all compatible weapon attachments. | ||
| | |s1= weapon call [[BIS_fnc_compatibleItems]] | ||
|p1= weapon: [[String]] - Weapon class | |p1= weapon: [[String]] - Weapon class | ||
|r1= [[Array]] | |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:20, 10 June 2021
Description
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
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