BIS fnc initVehicleKart: 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.20 | |1.20 | ||
|gr1 = Vehicles | |gr1 = Vehicles | ||
| Customise given kart and its driver. | | Customise given kart and its driver. | ||
| [kart,number,livery,raceTeam] call [[BIS_fnc_initVehicleKart]] | | [kart,number,livery,raceTeam] call [[BIS_fnc_initVehicleKart]] | ||
|p1=kart: [[Object]] | |p1=kart: [[Object]] | ||
|p2=number: [[Array]] - (Optional, default [-1,-1]) Kart number from 00 to 99 | |p2=number: [[Array]] - (Optional, default [-1,-1]) Kart number from 00 to 99 | ||
|p3=livery: [[Number]] - (Optional, default ''Random'') Kart livery. A integer from 0 to 9 | |p3=livery: [[Number]] - (Optional, default ''Random'') Kart livery. A integer from 0 to 9 | ||
|p4=raceTeam: [[Number]] - (Optional, default ''Matches the livery'') Driver uniform | |p4=raceTeam: [[Number]] - (Optional, default ''Matches the livery'') Driver uniform | ||
| [[Boolean]] - Always [[true]] | | [[Boolean]] - Always [[true]] | ||
|x1= <code>[BIS_kart, [9,7], -1, -1] [[call]] [[BIS_fnc_initVehicleKart]];</code> | |x1= <code>[BIS_kart, [9,7], -1, -1] [[call]] [[BIS_fnc_initVehicleKart]];</code> | ||
| [[BIS_fnc_initVehicle]], [[Arma 3 Karts]] | | [[BIS_fnc_initVehicle]], [[Arma 3 Karts]] | ||
}} | }} | ||
Revision as of 23:13, 17 January 2021
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:
[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