BIS fnc diagPreviewVehicleCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Creates vehicles with their crew.|= Description


Description:
____________________________________________________________________________________________
Creates vehicles with their crew
 
Parameter(s):
0: STRING - vehicle class
1: ARRAY - number of vehicles in format [rows,columns], total count being rows x columns
2: NUMBER - distance between vehicles


Returns:
|  [class, numVeh, distance] call [[BIS_fnc_diagPreviewVehicleCrew]] |= Syntax
NOTHING
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________
|p1= class: [[String]] - Vehicle class name|= Parameter 1
|p2= numVeh: [[Array]] - Number of vehicles in format:
*0: rows
*1: columns
**Number of vehicles: #rows * #columns|= Parameter 2
|p3= Distance: [[Number]] - Distance between vehicles|= Parameter 3


| <!-- [] call [[BIS_fnc_diagPreviewVehicleCrew]]; --> |= Syntax
| [[Nothing]]|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>["B_MRAP_01_F", [5,5], 10] [[call]] [[BIS_fnc_diagPreviewVehicleCrew]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
|[[:Category:Function Group: Diagnostic|Diag functions]]|= See also
 
}}
}}



Revision as of 13:33, 4 June 2018

Hover & click on the images for description

Description

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

Syntax

Syntax:
[class, numVeh, distance] call BIS_fnc_diagPreviewVehicleCrew
Parameters:
class: String - Vehicle class name
numVeh: Array - Number of vehicles in format:
  • 0: rows
  • 1: 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

Notes

Bottom Section