BIS fnc exportCfgVehiclesAssetDB: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Add links to comment now that this is possible)
 
(57 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Diagnostic
____________________________________________________________________________________________


| Copies CfgVehicles information to clipboard in wiki format. Used to export:
|descr= Copies [[:Category:CfgVehicles|CfgVehicles]] information to clipboard in wiki format.
* [[Arma 3 CfgVehicles EAST]]
* [[Arma 3 CfgVehicles WEST]]
* [[Arma 3 CfgVehicles GUER]]
* [[Arma 3 CfgVehicles CIV]]
* [[Arma 3 CfgVehicles Structures]]
* [[Arma 3 CfgVehicles Ruins & Wrecks]]
* [[Arma 3 CfgVehicles Equipment]]
* [[Arma 3 CfgVehicles EMPTY]]
* [[Arma 3 CfgVehicles VR Objects]]
* [[Arma 3 CfgVehicles Animals]]
* [[Arma 3 CfgVehicles Other]] |DESCRIPTION=
____________________________________________________________________________________________


| [side, category] call [[BIS_fnc_exportCfgVehiclesAssetDB]] |SYNTAX=
|s1= [side, category] call [[BIS_fnc_exportCfgVehiclesAssetDB]]


|p1= side: [[Array]] or [[Number]] - (default: [4,5,6,7,8,9]) can be:
|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 34: Line 22:
* 8: Empty
* 8: Empty
* 9: AmbientLife
* 9: AmbientLife
see [[side]].
}}
|PARAMETER1=


|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
Line 45: Line 33:
* 4: objects
* 4: objects
* 5: VR
* 5: VR
* 6: animals |PARAMETER2=
* 6: animals
}}


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]
____________________________________________________________________________________________


|x1= <code>[0]&nbsp;&nbsp; [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// OPFOR / CSAT}}
|x1= <sqf>
[1]&nbsp;&nbsp; [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// BLUFOR / NATO}}
[0]   spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles EAST}}
[2]&nbsp;&nbsp; [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Independent / Guerrilla}}
[1]   spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles WEST}}
[3,0] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, Civilian}}
[2]   spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles GUER}}
[3,1] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, Structures}}
[3,0] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles CIV}}
[3,2] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, Ruins & Wrecks}}
[3,1] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles Structures}}
[3,3] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, Equipment}}
[3,2] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles Ruins & Wrecks}}
[3,4] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, Objects}}
[3,3] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles Equipment}}
[3,5] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, VR Objects}}
[3,4] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles EMPTY}}
[3,6] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, Animals}}
[3,5] spawn BIS_fnc_exportCfgVehiclesAssetDB; // exports {{Link|Arma 3: CfgVehicles VR Objects}}
[]&nbsp;&nbsp;&nbsp; [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Other - Unknown, Enemy, Friendly, Modules, Empty, Ambient Life}}</code> |EXAMPLE1=
[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 |= Execution
|exec= spawn


| [[side]], [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]], [[BIS_fnc_exportCfgGroups]], [[BIS_fnc_exportCfgHint]], [[BIS_fnc_exportCfgMagazines]], [[BIS_fnc_exportCfgPatches]], [[BIS_fnc_exportCfgVehicles]], [[BIS_fnc_exportCfgWeapons]] |SEEALSO=
|seealso= [[side]] [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]] [[BIS_fnc_exportCfgGroups]] [[BIS_fnc_exportCfgHints]] [[BIS_fnc_exportCfgMagazines]] [[BIS_fnc_exportCfgPatches]] [[BIS_fnc_exportCfgVehicles]] [[BIS_fnc_exportCfgWeapons]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:exportCfgVehiclesAssetDB}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportCfgVehiclesAssetDB}}]]

Latest revision as of 12:56, 15 March 2024

Hover & click on the images for description

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