BIS fnc getVehicleCustomization: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *[^d][^= ]+ \| *p1 *=" to " |s1=$1 |p1=")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Vehicles
|gr1= Vehicles


| Return vehicle customization settings.
|descr= Return vehicle customization settings.


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


|p1= object: [[Object]]
|p1= object: [[Object]]
Line 15: Line 14:
|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]])


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


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

Revision as of 22:07, 10 June 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