BIS fnc exportCfgWeapons: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
m (Text replacement - "{{Inline code|" to "{{ic|") |
||
Line 19: | Line 19: | ||
* internal use only: "screenshotsTest" - create items one by one without taking screen (to verify everything is ok) | * internal use only: "screenshotsTest" - create items one by one without taking screen (to verify everything is ok) | ||
|p2= patches: [[Array]] of [[String]]s - (Optional, default {{ | |p2= patches: [[Array]] of [[String]]s - (Optional, default {{ic|[]}}) list of [[CfgPatches]] classes. Only weapons belonging to these addons will be used | ||
|p3= types: [[Array]] of [[String|Strings]] - (Optional, default {{ | |p3= types: [[Array]] of [[String|Strings]] - (Optional, default {{ic|[]}}) | ||
| [[Boolean]] - [[true]] when done | | [[Boolean]] - [[true]] when done |
Revision as of 18:11, 27 February 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- Parameters:
- mode: String - can be one of:
- "Equipment"
- "Item"
- "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 - types: Array of Strings - (Optional, default
[]
) - Return Value:
- Return value needed
Examples
- Example 1:
["Weapon"] spawn BIS_fnc_exportCfgWeapons; // exports Arma 3 CfgWeapons Weapons ["VehicleWeapon"] spawn BIS_fnc_exportCfgWeapons; // exports Arma 3 CfgWeapons Vehicle Weapons ["Item"] spawn BIS_fnc_exportCfgWeapons; // exports Arma 3 CfgWeapons Items ["Equipment"] spawn BIS_fnc_exportCfgWeapons; // exports Arma 3 CfgWeapons Equipment ["screenshots"] spawn BIS_fnc_exportCfgWeapons; // exports screenshots ["screenshotsTest"] spawn BIS_fnc_exportCfgWeapons; // screenshots test mode, does nothing
Additional Information
- See also:
- See also needed
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