BIS fnc initVehicleKart: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.20 | |||
|1.20 | |||
|gr1= Vehicles | |gr1= Vehicles | ||
| 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]] | ||
|p2=number: [[Array]] - (Optional, default [-1,-1]) | |p2=number: [[Array]] - (Optional, default [-1,-1]) kart number from 00 to 99 | ||
|p3=livery: [[Number]] - (Optional, default ''Random'') | |p3=livery: [[Number]] - (Optional, default ''Random'') kart livery. A integer from 0 to 9 | ||
|p4=raceTeam: [[Number]] - (Optional, default ''Matches the livery'') | |p4=raceTeam: [[Number]] - (Optional, default ''Matches the livery'') driver uniform | ||
|r1=[[Boolean]] - | |r1= [[Boolean]] - always [[true]] | ||
|x1= < | |x1= <sqf>[BIS_kart, [9,7], -1, -1] call BIS_fnc_initVehicleKart;</sqf> | ||
|seealso= [[BIS_fnc_initVehicle]] | |seealso= [[BIS_fnc_initVehicle]] [[Arma 3 Karts]] | ||
}} | }} |
Latest revision as of 12:40, 8 November 2023
Description
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:
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