BIS fnc initVehicleKart: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
m (pf)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________


{{Function|= Comments
| arma3 |Game name=
 
|1.20|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| Show welcome screen. TO be used in the main menu.|Description=
 
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*--------------------------------------------------------------------
| [kart,number,livery,raceTeam] call [[BIS_fnc_initVehicleKart]] |Syntax=
file: fn_initVehicleKart.sqf
============================
Author: Julien VIDA <@tom_48_97>


Description: Set the number of the given kart
|p1=kart: [[Object]] |Parameter 1=
[KartName, NN] call bis_fnc_initVehicleKart


Parameter(s):
|p2=number: [[Array]] - (Optional, default [-1,-1]) Kart number from 00 to 99|Parameter 2=
0 - Object: kart
1 - Array: [First digit, second digit]
3 - From 0 to 4
4 - Bool: Let the driver with the fuel uniform or randomize it


Example:
|p3=livery: [[Number]] - (Optional, default ''Random'') Kart livery. A integer from 0 to 9|Parameter 3=
[mySuperKart,[9,7], -1, -1] call bis_fnc_initVehicleKart;


--------------------------------------------------------------------*/
|p3=raceTeam: [[Number]] - (Optional, default ''Matches the livery'') Driver uniform|Parameter 3=


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Boolean]] - Always [[true]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_initVehicleKart]]; --> |= Syntax
|x1= <code>[BIS_kart, [9,7], -1, -1] [[call]] [[BIS_fnc_initVehicleKart]];</code>|Example 1=
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________


|x1= <code></code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 14:18, 20 June 2018

Hover & click on the images for description

Description

Description:
Show welcome screen. TO be used in the main menu.
Execution:
call
Groups:
Uncategorised

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