BIS fnc getVehicleCustomization: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 16: | Line 16: | ||
|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>[vehicle player] | |x1= <code>[vehicle player] call [[BIS_fnc_getVehicleCustomization]];</code> | ||
|seealso= [[Vehicle Customization (VhC)]] [[BIS_fnc_initVehicle]] | |seealso= [[Vehicle Customization (VhC)]] [[BIS_fnc_initVehicle]] | ||
}} | }} |
Revision as of 16:56, 13 July 2022
Description
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
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