BIS fnc exportCfgWeapons: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Export list of weapons for Community Wiki: [[Category:Arma 3: Assets|Arma 3 Assets Category]]. |Description= | ||
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) | ||
____________________________________________________________________________________________ | |||
| [mode, patches] 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= | |||
| | |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= | ||
| | | | [[Boolean]] - [[true]] when done |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>["Weapon"] [[call]] [[BIS_fnc_exportCfgWeapons]];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[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:{{Name|arma3}}: Functions|{{uc:exportCfgWeapons}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:exportCfgWeapons}}]] |
Revision as of 14:21, 6 June 2018
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