BIS fnc initVehicleKart: 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 - " |s1=[" to " |s1= [")
Line 8: Line 8:
|descr= Customise given kart and its driver.
|descr= Customise given kart and its driver.


|s1=[kart,number,livery,raceTeam] call [[BIS_fnc_initVehicleKart]]
|s1= [kart,number,livery,raceTeam] call [[BIS_fnc_initVehicleKart]]


|p1=kart: [[Object]]
|p1=kart: [[Object]]

Revision as of 23:11, 12 July 2022

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_initVehicle Arma 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