BIS fnc diagMissionWeapons: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Lists all weapons and magazines available in a mission.|= Description | ||
____________________________________________________________________________________________ | |||
| [clipboard] call [[BIS_fnc_diagMissionWeapons]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= clipboard: [[Boolean]] - (Optional, default [[false]]) - [[True]] to copy list to clipboard|= Parameter 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Array]] - List of weapons available in mission|= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[[true]] [[call]] [[BIS_fnc_diagMissionWeapons]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | |[[:Category:Function Group: Diagnostic|Diag functions]]|= See also | ||
}} | }} | ||
Revision as of 09:46, 3 June 2018
Description
- Description:
- Lists all weapons and magazines available in a mission.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [clipboard] call BIS_fnc_diagMissionWeapons
- Parameters:
- clipboard: Boolean - (Optional, default false) - True to copy list to clipboard
- Return Value:
- Array - List of weapons available in mission
Examples
- Example 1:
true call BIS_fnc_diagMissionWeapons;
Additional Information
- See also:
- Diag functions
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