BIS fnc initVehicleKart: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Vehicles(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Vehicles |GROUP1=
|gr1 = Vehicles |GROUP1=
____________________________________________________________________________________________


| Customise given kart and its driver.|Description=
| Customise given kart and its driver.|Description=
____________________________________________________________________________________________


| [kart,number,livery,raceTeam] call [[BIS_fnc_initVehicleKart]] |Syntax=
| [kart,number,livery,raceTeam] call [[BIS_fnc_initVehicleKart]] |Syntax=
Line 23: Line 20:


| [[Boolean]] - Always [[true]] |Return value=
| [[Boolean]] - Always [[true]] |Return value=
____________________________________________________________________________________________


|x1= <code>[BIS_kart, [9,7], -1, -1] [[call]] [[BIS_fnc_initVehicleKart]];</code>|Example 1=
|x1= <code>[BIS_kart, [9,7], -1, -1] [[call]] [[BIS_fnc_initVehicleKart]];</code>|Example 1=


____________________________________________________________________________________________


| [[BIS_fnc_initVehicle]], [[Arma 3 Karts]]  |See also=
| [[BIS_fnc_initVehicle]], [[Arma 3 Karts]]  |See also=

Revision as of 00:20, 17 January 2021

Hover & click on the images for description

Description

Description:
Customise given kart and its driver.
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
[kart,number,livery,raceTeam] call BIS_fnc_initVehicleKart
Parameters:
kart: Object
number: Array - (Optional, default [-1,-1]) Kart number from 00 to 99
livery: Number - (Optional, default Random) Kart livery. A integer from 0 to 9
raceTeam: Number - (Optional, default Matches the livery) Driver uniform
Return Value:
Boolean - Always true

Examples

Example 1:
[BIS_kart, [9,7], -1, -1] call BIS_fnc_initVehicleKart;

Additional Information

See also:
BIS_fnc_initVehicleArma 3 Karts

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

Notes

Bottom Section