BIS_fnc_exportCfgWeapons
- Runs with spawn
- Arma 3 v1.00
Function · Markdown · JSON · original wiki page
Description
Export list of weapons for Community Wiki Arma 3 Assets Category.
Syntax
[mode, patches, types] spawn BIS_fnc_exportCfgWeapons
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
Returns: Boolean - true when done
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; // screenshots
["screenshotsTest"] spawn BIS_fnc_exportCfgWeapons; // screenshots test mode, does nothing