BIS fnc exportCfgVehicles: 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.16|Game version=
|1.16


|gr1= Diagnostic |GROUP1=
|gr1= Diagnostic


| Export list of objects for Community Wiki ([[:Category:Arma_3:_Assets|Assets]]). |DESCRIPTION=
| Export list of objects for Community Wiki ([[:Category:Arma_3:_Assets|Assets]]).


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


|p1= mode: [[String]] - mode
|p1= mode: [[String]] - mode
: "config" - copy the objects table to clipboard
: "config" - copy the objects table to clipboard
: "screenshots" - create objects one by one and take their screenshot. Works only on "[[Render_Worlds|Render]]" terrain.
: "screenshots" - create objects one by one and take their screenshot. Works only on "[[Render_Worlds|Render]]" terrain.
: "screenshotsTest" - create objects one by one without taking screen (to verify everything is ok)|PARAMETER1=
: "screenshotsTest" - create objects one by one without taking screen (to verify everything is ok)


|p2= sides: [[Array]] - [[Array]] of [[Side]]s - only objects of these sides will be used
|p2= sides: [[Array]] - [[Array]] of [[Side]]s - only objects of these sides will be used


|p3= classes: [[Array]] - [[Array]]of [[String]]s- list of CfgPatches classes. Only objects belonging to these addons will be used
|p3= classes: [[Array]] - [[Array]]of [[String]]s- list of CfgPatches classes. Only objects belonging to these addons will be used
|PARAMETER2=


|p4= useAI: [[Boolean]] - true to use only AI units (soldiers, vehicles), false to use empty ones|PARAMETER3=


| [[Boolean]] |RETURNVALUE=
|p4= useAI: [[Boolean]] - true to use only AI units (soldiers, vehicles), false to use empty ones
 
| [[Boolean]]
   
   
|x1= <code>[] call [[BIS_fnc_exportCfgVehicles]];</code>|EXAMPLE1=
|x1= <code>[] call [[BIS_fnc_exportCfgVehicles]];</code>


|x2= <code>["config", [3], ["A3_Characters_F_Beta","A3_Characters_F_EPA","A3_Characters_F_EPB"], true] call [[BIS_fnc_exportCfgVehicles]];</code>|EXAMPLE2=
|x2= <code>["config", [3], ["A3_Characters_F_Beta","A3_Characters_F_EPA","A3_Characters_F_EPB"], true] call [[BIS_fnc_exportCfgVehicles]];</code>


| |SEEALSO=
|


}}
}}

Revision as of 23:00, 17 January 2021

Hover & click on the images for description

Description

Description:
Export list of objects for Community Wiki (Assets).
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


Bottom Section