BIS fnc compatibleItems: Difference between revisions
Jump to navigation
Jump to search
m (pf) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return all compatible weapon attachments.|= | | Return all compatible weapon attachments.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| weapon call [[BIS_fnc_compatibleItems]] |= | | weapon call [[BIS_fnc_compatibleItems]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= weapon: [[String]] - Weapon class |= Parameter 1 | |p1= weapon: [[String]] - Weapon class |= Parameter 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[Array]] - of [[String|strings]] |= | |[[Array]] - of [[String|strings]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[currentWeapon]],[[BIS_fnc_limitWeaponItems]], [[BIS_fnc_baseWeapon]] |= | |[[currentWeapon]],[[BIS_fnc_limitWeaponItems]], [[BIS_fnc_baseWeapon]] |SEEALSO= | ||
}} | }} | ||
Revision as of 11:26, 7 April 2019
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
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