BIS fnc compatibleItems: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
| weapon call [[BIS_fnc_compatibleItems]] |SYNTAX= | | weapon call [[BIS_fnc_compatibleItems]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= weapon: [[String]] - Weapon class |= | |p1= weapon: [[String]] - Weapon class |PARAMETER1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:28, 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