BIS fnc exportCfgVehicles: Difference between revisions
Jump to navigation
Jump to search
sides: Array - ARRAY of number(s) - 0 list of sides. Only objects of these sides will be used
classes: Array - ARRAY of 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
m (Generated by BIS_fnc_exportFunctionsToWiki) |
(Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.15|= Game version ________________...") |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 5: | Line 4: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
|1. | |1.15|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Export list of objects for Community Wiki ([[:Category:Arma_3:_Assets|Assets]]). |= Description | ||
____________________________________________________________________________________________ | |||
| [mode,sides,classes,useAI] call [[BIS_fnc_exportCfgVehicles]]; |= Syntax | |||
|p1= mode: [[String]] - mode | |||
: "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)|= Parameter | |||
|p2= sides: [[Array]] - ARRAY of [[Number|number(s)]] - 0 list of sides. Only objects of these sides will be used | |||
: 1 is BLUFOR | |||
: 2 is OPFOR | |||
: 3 is Civilian|= Parameter | |||
| | |p3= classes: [[Array]] - ARRAY of STRINGs - list of CfgPatches classes. Only objects belonging to these addons will be used | ||
|= Parameter | |||
| | |p4= useAI: [[Boolean]] - true to use only AI units (soldiers, vehicles), false to use empty ones|= Parameter | ||
| |= Return value | | [[Boolean]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[] call [[BIS_fnc_exportCfgVehicles]];</code>|= Example 1 | |||
| | |x2= <code>["config", [3], ["A3_Characters_F_Beta","A3_Characters_F_EPA","A3_Characters_F_EPB","A3_Characters_F_EPC"], true] call [[BIS_fnc_exportCfgVehicles]];</code>|= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 53: | Line 47: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category: | |||
[[Category: | [[Category:Arma 3:_Functions|param]] | ||
[[Category:Function Group: Debug|param]] |
Revision as of 16:08, 22 March 2014
Description
- Description:
- Export list of objects for Community Wiki (Assets).
- Execution:
- call
- Groups:
- Uncategorised
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)
- 1 is BLUFOR
- 2 is OPFOR
- 3 is Civilian
Examples
- Example 1:
[] call BIS_fnc_exportCfgVehicles;
- Example 2:
["config", [3], ["A3_Characters_F_Beta","A3_Characters_F_EPA","A3_Characters_F_EPB","A3_Characters_F_EPC"], 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