BIS fnc getVehicleCustomization: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - "[[Vehicle Customization (VhC)" to "[[Arma 3: Vehicle Customisation")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Vehicles


|gr1 = Vehicles
|descr= Return vehicle customization settings.
 
| Return vehicle customization settings.
 
| [object,class] call [[BIS_fnc_getVehicleCustomization]]


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


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


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


| [[Array]] in format: [<texture>,<animations>], for example (<nowiki>[</nowiki>["wasp",1],["AddTread",0,"AddTread_Short",1]])
|r1= [[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>
|x1= <sqf>[vehicle player] call BIS_fnc_getVehicleCustomization;</sqf>


| [[Vehicle Customization (VhC)]], [[BIS_fnc_initVehicle]]
|seealso= [[Arma 3: Vehicle Customisation]] [[BIS_fnc_initVehicle]]
}}
}}
[[Category:Functions|{{uc:getVehicleCustomization}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getVehicleCustomization}}]]

Latest revision as of 22: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