BIS fnc exportCfgVehicles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.16 | |||
|1.16 | |||
|gr1= Diagnostic | |gr1= Diagnostic | ||
Line 9: | Line 8: | ||
|descr= Export list of objects for Community Wiki ([[:Category:Arma_3:_Assets|Assets]]). | |descr= Export list of objects for Community Wiki ([[:Category:Arma_3:_Assets|Assets]]). | ||
|s1=[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, can be one of: | ||
* "config" - copy the objects table to clipboard | |||
* "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) | |||
|p2= sides: | |p2= sides: [[Array]] of [[Side]]s - only objects of these sides will be used | ||
|p3= classes: | |p3= classes: [[Array]]of [[String]]s- list of CfgPatches classes. Only objects belonging to these addons will be used | ||
|p4= useAI: [[Boolean]] - true to use only AI units (soldiers, vehicles), false to use empty ones | |p4= useAI: [[Boolean]] - true to use only AI units (soldiers, vehicles), false to use empty ones | ||
|r1=[[Boolean]] | |r1= [[Boolean]] | ||
|x1= <code>[] call [[BIS_fnc_exportCfgVehicles]];</code> | |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> | |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 21:56, 13 June 2021
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, can be one of:
- "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 of Sides - only objects of these sides will be used
- classes: 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