BIS fnc exportVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
Line 39: Line 39:
| [[BIS_fnc_initVehicle]], [[Vehicle Customization (VhC)]]
| [[BIS_fnc_initVehicle]], [[Vehicle Customization (VhC)]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:exportVehicle}}]]

Revision as of 03:17, 2 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object
vehicleClass: String - Use "" to skip createVehicle part and set components / textures only
Return Value:
Return value needed

Examples

Example 1:
[BIS_tank,""] call BIS_fnc_exportVehicle; //Returns "[ _this, [""Hex"",1], [""showCamonetHull"",1,""showCamonetTurret"",1] ] call BIS_fnc_initVehicle;"
Example 2:
[BIS_tank] call BIS_fnc_exportVehicle; //Returns "_veh = createVehicle [""O_MBT_04_cannon_F"",position player,[],0,""NONE""]; [ _veh, [""Hex"",1], [""showCamonetHull"",1,""showCamonetTurret"",1] ] call BIS_fnc_initVehicle;"

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