BIS fnc exportCfgVehicles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=")
Line 9: Line 9:
| Export list of objects for Community Wiki ([[:Category:Arma_3:_Assets|Assets]]).
| Export list of objects for Community Wiki ([[:Category:Arma_3:_Assets|Assets]]).


| [mode,sides,classes,useAI] call [[BIS_fnc_exportCfgVehicles]];
|s1=[mode,sides,classes,useAI] call [[BIS_fnc_exportCfgVehicles]]


|p1= mode: [[String]] - mode
|p1= mode: [[String]] - mode

Revision as of 20:30, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[mode,sides,classes,useAI] call BIS_fnc_exportCfgVehicles
Parameters:
mode: String - mode
"config" - copy the objects table to clipboard
"screenshots" - create objects one by one and take their screenshot. Works only on "Render" terrain.
"screenshotsTest" - create objects one by one without taking screen (to verify everything is ok)
sides: Array - Array of Sides - only objects of these sides will be used
classes: Array - Arrayof Strings- list of CfgPatches classes. Only objects belonging to these addons will be used
useAI: Boolean - true to use only AI units (soldiers, vehicles), false to use empty ones
Return Value:
Boolean

Examples

Example 1:
[] call BIS_fnc_exportCfgVehicles;
Example 2:
["config", [3], ["A3_Characters_F_Beta","A3_Characters_F_EPA","A3_Characters_F_EPB"], true] call BIS_fnc_exportCfgVehicles;

Additional Information

See also:
See also needed

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