BIS fnc diagPreview: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Diagnostic |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: Diagnostic(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 40: Line 40:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Diagnostic|{{uc:diagPreview}}]]
 
[[Category:Functions|{{uc:diagPreview}}]]
[[Category:Functions|{{uc:diagPreview}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagPreview}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagPreview}}]]

Revision as of 10:39, 12 October 2020

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 screenToWorld [0.5,0.5] in Eden Editor or position player) - 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

Notes

Bottom Section