BIS fnc exportCfgVehiclesAssetDB: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 35: Line 35:
* 9: AmbientLife
* 9: AmbientLife
see [[side]].
see [[side]].
  |= Parameter 1
  |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 45: Line 45:
* 4: objects
* 4: objects
* 5: VR
* 5: VR
* 6: animals |= Parameter 2
* 6: animals |PARAMETER2=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
Line 60: Line 60:
[3,5] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, VR Objects}}
[3,5] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, VR Objects}}
[3,6] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, Animals}}
[3,6] [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Civilian side, Animals}}
[]&nbsp;&nbsp;&nbsp; [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Other - Unknown, Enemy, Friendly, Modules, Empty, Ambient Life}}</code> |= Example 1
[]&nbsp;&nbsp;&nbsp; [[spawn]] [[BIS_fnc_exportCfgVehiclesAssetDB]]; {{codecomment|// Other - Unknown, Enemy, Friendly, Modules, Empty, Ambient Life}}</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:30, 7 April 2019

Hover & click on the images for description

Description

Description:
Copies CfgVehicles information to clipboard in wiki format. Used to export:
Execution:
spawn
Groups:
Uncategorised

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; // OPFOR / CSAT [1]   spawn BIS_fnc_exportCfgVehiclesAssetDB; // BLUFOR / NATO [2]   spawn BIS_fnc_exportCfgVehiclesAssetDB; // Independent / Guerrilla [3,0] spawn BIS_fnc_exportCfgVehiclesAssetDB; // Civilian side, Civilian [3,1] spawn BIS_fnc_exportCfgVehiclesAssetDB; // Civilian side, Structures [3,2] spawn BIS_fnc_exportCfgVehiclesAssetDB; // Civilian side, Ruins & Wrecks [3,3] spawn BIS_fnc_exportCfgVehiclesAssetDB; // Civilian side, Equipment [3,4] spawn BIS_fnc_exportCfgVehiclesAssetDB; // Civilian side, Objects [3,5] spawn BIS_fnc_exportCfgVehiclesAssetDB; // Civilian side, VR Objects [3,6] spawn BIS_fnc_exportCfgVehiclesAssetDB; // Civilian side, Animals []    spawn BIS_fnc_exportCfgVehiclesAssetDB; // Other - Unknown, Enemy, Friendly, Modules, Empty, Ambient Life

Additional Information

See also:
sideCfgVehicles config side valueBIS_fnc_exportCfgGroupsBIS_fnc_exportCfgHintBIS_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

Notes

Bottom Section