BIS fnc exportVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|1.00 | |1.00 | ||
|gr1 = Vehicles | |gr1= Vehicles | ||
| Export vehicle settings | | Export vehicle settings |
Revision as of 12:38, 11 April 2021
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
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