BIS fnc getVehicleCustomization: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
m (Text replacement - "[[Vehicle Customization (VhC)" to "[[Arma 3: Vehicle Customisation")
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Vehicles


|1.00|= Game version
|descr= Return vehicle customization settings.
____________________________________________________________________________________________


| <pre>/*
|s1= [object, class] call [[BIS_fnc_getVehicleCustomization]]
Author: Karel Moricky


Description:
|p1= object: [[Object]]
Return vehicle customization settings


Parameter(s):
|p2= class: [[String]] - (Optional, default "") object class override
0: OBJECT
1 (Optional) STRING - object class override


Returns:
|r1= [[Array]] in format: [<texture>, <animations>], for example (<nowiki>[</nowiki>["wasp",1],["AddTread",0,"AddTread_Short",1]])
ARRAY in format [<textures>,<animations>]
e.g., [["wasp",1],[["AddTread",0],["AddTread_Short",1]]]
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>[vehicle player] call BIS_fnc_getVehicleCustomization;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_getVehicleCustomization]]; --> |= Syntax
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Arma 3: Vehicle Customisation]] [[BIS_fnc_initVehicle]]
}}
}}
<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:Function Group: Vehicles|{{uc:getVehicleCustomization}}]]
[[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