BIS fnc getVehicleCustomization: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
m (Text replacement - "[[Vehicle Customization (VhC)" to "[[Arma 3: Vehicle Customisation")
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
|p1= object: [[Object]]
|p1= object: [[Object]]


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


|r1= [[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]])
Line 18: Line 18:
|x1= <sqf>[vehicle player] call BIS_fnc_getVehicleCustomization;</sqf>
|x1= <sqf>[vehicle player] call BIS_fnc_getVehicleCustomization;</sqf>


|seealso= [[Vehicle Customization (VhC)]] [[BIS_fnc_initVehicle]]
|seealso= [[Arma 3: Vehicle Customisation]] [[BIS_fnc_initVehicle]]
}}
}}

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