BIS fnc compatibleItems: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Return all compatible weapon attachments.|= Description | ||
____________________________________________________________________________________________ | |||
| weapon call [[BIS_fnc_compatibleItems]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= weapon: [[String]] - Weapon class |= Parameter 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | |[[Array]] - of [[String|strings]] |= Return value | ||
____________________________________________________________________________________________ | |||
| | |x1= <code>([[currentWeapon]] [[player]]) [[call]] [[BIS_fnc_compatibleItems]];</code> |= | ||
____________________________________________________________________________________________ | |||
|[[currentWeapon]],[[BIS_fnc_limitWeaponItems]], [[BIS_fnc_baseWeapon]] |= See also | |||
}} | }} | ||
Revision as of 23:37, 1 July 2018
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:
- Return value needed
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