Description
Previews selected classes from given container.
Syntax
[container, parentClass, distance, startPos] call BIS_fnc_diagPreview
Parameters:
container: String - (Optional, default "CfgVehicles") class container. Can be:- "CfgVehicles"
- "CfgWeapons"
parentClass: String - (Optional, default typeOf player) parent class of the objects (e.g. "Car" or "Rifle")distance: Number - (Optional, default 10) distance between objectsstartPos: Position - (Optional, defaultgetPos playerorscreenToWorld]] [0.5,0.5]in Eden Editor) start position
Returns: Array - list of created classes
Examples
Example 1
["CfgVehicles", "Car", 15, [0,0,0]] call BIS_fnc_diagPreview;