BIS fnc getVehicleCustomization: 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.00|Game version=
|1.00


|gr1 = Vehicles |GROUP1=
|gr1 = Vehicles


| Return vehicle customization settings. |Description=
| Return vehicle customization settings.


| [object,class] call [[BIS_fnc_getVehicleCustomization]] |Syntax=
| [object,class] call [[BIS_fnc_getVehicleCustomization]]




|p1= object: [[Object]] |Parameter 1=
|p1= object: [[Object]]


|p2= class: [[String]] - (Optional, default "") Object class override |Parameter 2=
|p2= class: [[String]] - (Optional, default "") Object class override


| [[Array]] in format: [<texture>,<animations>], for example (<nowiki>[</nowiki>["wasp",1],["AddTread",0,"AddTread_Short",1]])|Return value=
| [[Array]] in format: [<texture>,<animations>], for example (<nowiki>[</nowiki>["wasp",1],["AddTread",0,"AddTread_Short",1]])


|x1= <code><nowiki>[</nowiki>[[vehicle]] [[player]]] [[call]] [[BIS_fnc_getVehicleCustomization]];</code> |Example 1=
|x1= <code><nowiki>[</nowiki>[[vehicle]] [[player]]] [[call]] [[BIS_fnc_getVehicleCustomization]];</code>


| [[Vehicle Customization (VhC)]], [[BIS_fnc_initVehicle]] |See also=
| [[Vehicle Customization (VhC)]], [[BIS_fnc_initVehicle]]
}}
}}



Revision as of 00:03, 18 January 2021

Hover & click on the images for description

Description

Description:
Return vehicle customization settings.
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
[object,class] call BIS_fnc_getVehicleCustomization
Parameters:
object: Object
class: String - (Optional, default "") Object class override
Return Value:
Array in format: [<texture>,<animations>], for example ([["wasp",1],["AddTread",0,"AddTread_Short",1]])

Examples

Example 1:
[vehicle player] call BIS_fnc_getVehicleCustomization;

Additional Information

See also:
Vehicle Customization (VhC)BIS_fnc_initVehicle

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