BIS fnc diagPreviewVehicleCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Some wiki formatting)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Diagnostic
|gr1= Diagnostic


| Creates vehicles with their crew.
|descr= Creates vehicles with their crew.
 


| [class, numVeh, distance] call [[BIS_fnc_diagPreviewVehicleCrew]]
|s1= [class, dimensions, distance] call [[BIS_fnc_diagPreviewVehicleCrew]]
|p1= class: [[String]] - Vehicle class name
|p2= numVeh: [[Array]] - Number of vehicles in format:
*0: rows
*1: columns
**Number of vehicles: #rows * #columns
|p3= Distance: [[Number]] - Distance between vehicles


| [[Nothing]]
|p1= class: [[String]] - vehicle class name


|x1= <code>["B_MRAP_01_F", [5,5], 10] [[call]] [[BIS_fnc_diagPreviewVehicleCrew]];</code>
|p2= dimensions: [[Array]] of [[Number]]s - number of vehicles in format [rows, columns] (number of vehicles = rows &times; columns)


|[[:Category:Function Group: Diagnostic|Diag functions]]
|p3= distance: [[Number]] - distance between vehicles
}}


|r1= [[Nothing]]


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>["B_MRAP_01_F", [5,5], 10] call BIS_fnc_diagPreviewVehicleCrew;</sqf>


[[Category:Functions|{{uc:diagPreviewVehicleCrew}}]]
|seealso= [[:Category:Function Group: Diagnostic|Diag functions]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagPreviewVehicleCrew}}]]
}}

Latest revision as of 09:52, 8 November 2023

Hover & click on the images for description

Description

Description:
Creates vehicles with their crew.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[class, dimensions, distance] call BIS_fnc_diagPreviewVehicleCrew
Parameters:
class: String - vehicle class name
dimensions: Array of Numbers - number of vehicles in format [rows, columns] (number of vehicles = rows × columns)
distance: Number - distance between vehicles
Return Value:
Nothing

Examples

Example 1:
["B_MRAP_01_F", [5,5], 10] call BIS_fnc_diagPreviewVehicleCrew;

Additional Information

See also:
Diag functions

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