BIS fnc getVehicleCustomization: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "[[Vehicle Customization (VhC)" to "[[Arma 3: Vehicle Customisation")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Vehicles


|gr1 = Vehicles |GROUP1=
|descr= Return vehicle customization settings.


| Return vehicle customization settings. |Description=
|s1= [object, class] call [[BIS_fnc_getVehicleCustomization]]


| [object,class] call [[BIS_fnc_getVehicleCustomization]] |Syntax=
|p1= object: [[Object]]


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


|p1= object: [[Object]] |Parameter 1=
|r1= [[Array]] in format: [<texture>, <animations>], for example (<nowiki>[</nowiki>["wasp",1],["AddTread",0,"AddTread_Short",1]])


|p2= class: [[String]] - (Optional, default "") Object class override |Parameter 2=
|x1= <sqf>[vehicle player] call BIS_fnc_getVehicleCustomization;</sqf>


| [[Array]] in format: [<texture>,<animations>], for example (<nowiki>[</nowiki>["wasp",1],["AddTread",0,"AddTread_Short",1]])|Return value=
|seealso= [[Arma 3: Vehicle Customisation]] [[BIS_fnc_initVehicle]]
 
|x1= <code><nowiki>[</nowiki>[[vehicle]] [[player]]] [[call]] [[BIS_fnc_getVehicleCustomization]];</code> |Example 1=
 
| [[Vehicle Customization (VhC)]], [[BIS_fnc_initVehicle]] |See also=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:getVehicleCustomization}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getVehicleCustomization}}]]

Latest revision as of 23:57, 8 April 2024

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:
Arma 3: Vehicle Customisation 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