BIS_fnc_diagPreview

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Previews selected classes from given container.
Execution:
call
Groups:
Diagnostic

Syntax

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 objects
startPos: Position - (Optional, default getPos player or screenToWorld]] [0.5,0.5] in Eden Editor) start position
Return Value:
Array - list of created classes

Examples

Example 1:
["CfgVehicles", "Car", 15, [0,0,0]] call BIS_fnc_diagPreview;

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