BIS fnc exportCfgVehiclesAssetDB: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1 = Diagnostic |GROUP1=
|gr1 = Diagnostic


| Copies [[:Category:CfgVehicles|CfgVehicles]] information to clipboard in wiki format. |DESCRIPTION=
| Copies [[:Category:CfgVehicles|CfgVehicles]] information to clipboard in wiki format.


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


|p1= side: [[Array]] or [[Number]] - (default: {{Inline code|[4,5,6,7,8,9]}}) can be:
|p1= side: [[Array]] or [[Number]] - (default: {{Inline code|[4,5,6,7,8,9]}}) can be:
Line 27: Line 27:
{{!}}}
{{!}}}
see [[side]].
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>
Line 41: Line 41:
* 5: VR
* 5: VR
* 6: animals
* 6: animals
{{!}}} |PARAMETER2=
{{!}}}


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>[0]  [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{cc|exports [[Arma 3 CfgVehicles EAST]]}}
|x1= <code>[0]  [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{cc|exports [[Arma 3 CfgVehicles EAST]]}}
Line 56: Line 56:
[3,6] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{cc|exports [[Arma 3 CfgVehicles Animals]]}}
[3,6] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{cc|exports [[Arma 3 CfgVehicles Animals]]}}
[]    [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{cc|exports [[Arma 3 CfgVehicles Other]]:}}
[]    [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{cc|exports [[Arma 3 CfgVehicles Other]]:}}
{{cc|Unknown, Enemy, Friendly, Modules, Empty, Ambient Life}}</code> |EXAMPLE1=
{{cc|Unknown, Enemy, Friendly, Modules, Empty, Ambient Life}}</code>


|exec= spawn |Execution=
|exec= spawn |Execution=


| [[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]] |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]]
}}
}}



Revision as of 00:03, 18 January 2021

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 Number - (default: [4,5,6,7,8,9]) 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
see side.
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:
sideCfgVehicles config side valueBIS_fnc_exportCfgGroupsBIS_fnc_exportCfgHintsBIS_fnc_exportCfgMagazinesBIS_fnc_exportCfgPatchesBIS_fnc_exportCfgVehiclesBIS_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


Bottom Section