BIS_fnc_drawBoundingBox

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.981.98
Hover & click on the images for descriptions

Description

Description:
Draws bounding box around given objects.

Syntax

Syntax:
[objects, color, draw] call BIS_fnc_drawBoundingBox
Parameters:
objects: Array - (Optional, default objNull) Array of Objects
color: Array - (Optional, default [1,0,1,1]) Array in format [R,G,B,A]
draw: Boolean - (Optional, default nil) True to draw, false to remove
Return Value:
Boolean - True is successful, false if not

Examples

Example 1:
[[BIS_building], [1,0,1,1], true] call BIS_fnc_drawBoundingBox;
Example 2:
[[], [], false] call BIS_fnc_drawBoundingBox;

Additional Information

Execution:
call
See also:
boundingBoxReal boundingBox

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.