BIS fnc getVehicleCustomization: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Vehicles | |gr1 = Vehicles | ||
| Return vehicle customization settings. | | Return vehicle customization settings. | ||
| [object,class] call [[BIS_fnc_getVehicleCustomization]] | | [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]]) | | [[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>[</nowiki>[[vehicle]] [[player]]] [[call]] [[BIS_fnc_getVehicleCustomization]];</code> | ||
| [[Vehicle Customization (VhC)]], [[BIS_fnc_initVehicle]] | | [[Vehicle Customization (VhC)]], [[BIS_fnc_initVehicle]] | ||
}} | }} | ||
Revision as of 23:03, 17 January 2021
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