BIS fnc initVehicleKart: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )K([a-z])" to "$1k$3")
m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")
 
Line 18: Line 18:
|p4=raceTeam: [[Number]] - (Optional, default ''Matches the livery'') driver uniform
|p4=raceTeam: [[Number]] - (Optional, default ''Matches the livery'') driver uniform


|r1= [[Boolean]] - Always [[true]]
|r1= [[Boolean]] - always [[true]]


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

Latest revision as of 13:40, 8 November 2023

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