BIS fnc exportCfgVehiclesAssetDB: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Add links to comment now that this is possible) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= Copies [[:Category:CfgVehicles|CfgVehicles]] information to clipboard in wiki format. | |descr= Copies [[:Category:CfgVehicles|CfgVehicles]] information to clipboard in wiki format. | ||
|s1=[side, category] call [[BIS_fnc_exportCfgVehiclesAssetDB]] | |s1= [side, category] call [[BIS_fnc_exportCfgVehiclesAssetDB]] | ||
|p1= side: [[Array]] or [[Number]] - (default | |p1= side: [[Array]] or [[Number]]s - (Optional, default <sqf inline>[4,5,6,7,8,9]</sqf>) [[side]] selection, can be: | ||
{{ | {{Columns|2| | ||
* 0: OPFOR / CSAT | * 0: OPFOR / CSAT | ||
* 1: BLUFOR / NATO | * 1: BLUFOR / NATO | ||
Line 18: | Line 17: | ||
* 3: Civilian | * 3: Civilian | ||
* 4: Unknown | * 4: Unknown | ||
* 5: Enemy | * 5: Enemy | ||
* 6: Friendly | * 6: Friendly | ||
Line 24: | Line 22: | ||
* 8: Empty | * 8: Empty | ||
* 9: AmbientLife | * 9: AmbientLife | ||
}} | |||
|p2= category: [[Number]] - (Optional, default 0 if ''side'' is a number, always reverts to 1 if ''side'' an array) only used when ''side'' is set to '''3'''.<br> | |p2= category: [[Number]] - (Optional, default 0 if ''side'' is a number, always reverts to 1 if ''side'' an array) only used when ''side'' is set to '''3'''.<br> | ||
Can be one of the following: | Can be one of the following: | ||
{{ | {{Columns|2| | ||
* 0: civilian units | * 0: civilian units | ||
* 1: structures | * 1: structures | ||
* 2: ruins and wrecks | * 2: ruins and wrecks | ||
* 3: equipment | * 3: equipment | ||
* 4: objects | * 4: objects | ||
* 5: VR | * 5: VR | ||
* 6: animals | * 6: animals | ||
}} | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf> | ||
[1] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [0] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles EAST}} | ||
[2] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [1] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles WEST}} | ||
[3,0] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [2] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles GUER}} | ||
[3,1] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [3,0] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles CIV}} | ||
[3,2] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [3,1] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles Structures}} | ||
[3,3] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [3,2] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles Ruins & Wrecks}} | ||
[3,4] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [3,3] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles Equipment}} | ||
[3,5] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [3,4] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles EMPTY}} | ||
[3,6] spawn BIS_fnc_exportCfgVehiclesAssetDB; {{ | [3,5] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles VR Objects}} | ||
[] spawn | [3,6] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles Animals}} | ||
[] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles Other}} | |||
// Unknown, Enemy, Friendly, Modules, Empty, Ambient Life | |||
</sqf> | |||
|exec= spawn | |exec= spawn |
Latest revision as of 11:56, 15 March 2024
Description
- Description:
- Copies CfgVehicles information to clipboard in wiki format.
- Execution:
- spawn
- Groups:
- Diagnostic
Syntax
- Syntax:
- [side, category] call BIS_fnc_exportCfgVehiclesAssetDB
- Parameters:
- side: Array or Numbers - (Optional, default [4,5,6,7,8,9]) side selection, can be:
- 0: OPFOR / CSAT
- 1: BLUFOR / NATO
- 2: Independent / Guerrilla
- 3: Civilian
- 4: Unknown
- 5: Enemy
- 6: Friendly
- 7: Logic
- 8: Empty
- 9: AmbientLife
- category: Number - (Optional, default 0 if side is a number, always reverts to 1 if side an array) only used when side is set to 3.
Can be one of the following:- 0: civilian units
- 1: structures
- 2: ruins and wrecks
- 3: equipment
- 4: objects
- 5: VR
- 6: animals
- Return Value:
- Nothing
Examples
- Example 1:
- [0] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles EAST [1] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles WEST [2] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles GUER [3,0] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles CIV [3,1] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles Structures [3,2] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles Ruins & Wrecks [3,3] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles Equipment [3,4] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles EMPTY [3,5] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles VR Objects [3,6] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles Animals [] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports Arma 3: CfgVehicles Other // Unknown, Enemy, Friendly, Modules, Empty, Ambient Life
Additional Information
- See also:
- side CfgVehicles config side value BIS_fnc_exportCfgGroups BIS_fnc_exportCfgHints BIS_fnc_exportCfgMagazines BIS_fnc_exportCfgPatches BIS_fnc_exportCfgVehicles BIS_fnc_exportCfgWeapons
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