BIS fnc drawBoundingBox: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])=([^ ]+) *  \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ") | Lou Montana (talk | contribs)  | ||
| Line 10: | Line 10: | ||
| |s1= [objects, color, draw] call [[BIS_fnc_drawBoundingBox]] | |s1= [objects, color, draw] call [[BIS_fnc_drawBoundingBox]] | ||
| |p1= objects: [[Array]] - (Optional, default [[objNull]]) [[Array]] of [[Object | |p1= objects: [[Array]] - (Optional, default [[objNull]]) [[Array]] of [[Object]]s | ||
| |p2= color: [[Array]] - (Optional, default [1,0,1,1]) [[Array]] in format [R,G,B,A] | |p2= color: [[Array]] - (Optional, default [1,0,1,1]) [[Array]] in format [R,G,B,A] | ||
Revision as of 23:39, 12 July 2022
Description
- Description:
- Draws bounding box around given objects.
- Execution:
- call
- Groups:
- Object Manipulation
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
 
	