BIS fnc drawBoundingBox: Difference between revisions
Jump to navigation
Jump to search
m (page filled) |
m (remove _ from parameters) |
||
Line 13: | Line 13: | ||
|descr= Draws bounding box around given objects. | |descr= Draws bounding box around given objects. | ||
|s1= [ | |s1= [objects, color, draw] call [[BIS_fnc_drawBoundingBox]] | ||
|p1= | |p1= objects: [[Array]] - (Optional, default [[objNull]]) [[Array]] of [[Object|Objects]] | ||
|p2= | |p2= color: [[Array]] - (Optional, default [1,0,1,1]) [[Array]] in format [R,G,B,A] | ||
|p3= | |p3= draw: [[Boolean]] - (Optional, default nil) [[True]] to draw, [[false]] to remove | ||
|r1= [[Boolean]] - [[True]] is successful, [[false]] if not | |r1= [[Boolean]] - [[True]] is successful, [[false]] if not |
Revision as of 11:45, 4 June 2020
Description
- Description:
- Draws bounding box around given objects.
- Execution:
- call
- Groups:
- Uncategorised
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
- See also:
- boundingBoxReal boundingBox
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