BIS fnc exportCfgWeapons: Difference between revisions

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


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Export list of weapons for Community Wiki: [[Category:Arma 3: Assets|Arma 3 Assets Category]]. |Description=
 
Description:
Export list of weapons for Community Wiki
http://community.bistudio.com/wiki/Category:Arma_3:_Assets


Parameter(s):
Parameter(s):
Line 22: Line 17:
1: ARRAY of STRINGs - list of CfgPatches classes. Only weapons belonging to these addons will be used doesn't work, ToDo)
1: ARRAY of STRINGs - list of CfgPatches classes. Only weapons belonging to these addons will be used doesn't work, ToDo)


Returns:
____________________________________________________________________________________________
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [mode, patches] call [[BIS_fnc_exportCfgWeapons]] |Syntax=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_exportCfgWeapons]]; --> |= Syntax
|p1= mode: [[String]] - can be one of:
* "Items"
* "VehicleWeapon"
* "Weapon" - specific item type, based on [[BIS_fnc_itemType]]
* internal use only: "screenshots" - create items one by one and take their screenshot. Works only on "Render" terrain.
* internal use only: "screenshotsTest" - create items one by one without taking screen (to verify everything is ok) |Parameter 1=


|p1= |= Parameter 1
|p2= patches: [[Array]] of [[String|Strings]] - (Optional, default []) list of [[CfgPatches]] classes. Only weapons belonging to these addons will be used doesn't work, ToDo) |Parameter 2=


| |= Return value
| [[Boolean]] - [[true]] when done |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>["Weapon"] [[call]] [[BIS_fnc_exportCfgWeapons]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Special:WhatLinksHere/BIS_fnc_exportCfgWeapons|What links here]], [[:Category:Function Group: Diagnostic|Diagnostic Function Group]] |See also=
 
}}
}}


Line 51: Line 47:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:exportCfgWeapons}}]]
[[Category:Function Group: Diagnostic|{{uc:exportCfgWeapons}}]]
[[Category:Function Group: Diagnostic|{{uc:exportCfgWeapons}}]]
[[Category:Functions|{{uc:exportCfgWeapons}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportCfgWeapons}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportCfgWeapons}}]]

Revision as of 15:21, 6 June 2018

Hover & click on the images for description

Description

Description:
Export list of weapons for Community Wiki:.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[mode, patches] call BIS_fnc_exportCfgWeapons
Parameters:
mode: String - can be one of:
  • "Items"
  • "VehicleWeapon"
  • "Weapon" - specific item type, based on BIS_fnc_itemType
  • internal use only: "screenshots" - create items one by one and take their screenshot. Works only on "Render" terrain.
  • internal use only: "screenshotsTest" - create items one by one without taking screen (to verify everything is ok)
patches: Array of Strings - (Optional, default []) list of CfgPatches classes. Only weapons belonging to these addons will be used doesn't work, ToDo)
Return Value:
Boolean - true when done

Examples

Example 1:
["Weapon"] call BIS_fnc_exportCfgWeapons;

Additional Information

See also:
What links hereDiagnostic Function Group

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