BIS_fnc_exportCfgWeapons
Jump to navigation
Jump to search
Description
- Description:
- Export list of weapons for Community Wiki.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [mode, patches, types] 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?) - types: Array of Strings - (Optional, default
[]
) - Return Value:
- Boolean - true when done
Examples
- Example 1:
["Weapon"] call BIS_fnc_exportCfgWeapons; // exports Arma 3 CfgWeapons Weapons ["VehicleWeapon"] call BIS_fnc_exportCfgWeapons; // exports Arma 3 CfgWeapons Vehicle Weapons ["Items"] call BIS_fnc_exportCfgWeapons; // exports Arma 3 CfgWeapons Items ["screenshots"] call BIS_fnc_exportCfgWeapons; // exports screenshots ["screenshotsTest"] call BIS_fnc_exportCfgWeapons; // screenshots test mode, does nothing
Additional Information
- See also:
- Diagnostic 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