BIS fnc diagMissionWeapons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Lists all weapons and magazines available in a mission.|= Description


Description:
____________________________________________________________________________________________
Lists all weapons and magazines available in a mission.


Parameter(s):
|  [clipboard] call [[BIS_fnc_diagMissionWeapons]] |= Syntax
0: BOOL (Optional) - True to copy the result into clipboard (default: false)
____________________________________________________________________________________________
|p1= clipboard: [[Boolean]] - (Optional, default [[false]]) - [[True]] to copy list to clipboard|= Parameter 1


Returns:
ARRAY
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_diagMissionWeapons]]; --> |= Syntax
| [[Array]] - List of weapons available in mission|= Return value
 
|p1= |= Parameter 1
 
| |= 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

Hover & click on the images for description

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

Notes

Bottom Section