BIS fnc getObjectBBD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 9: Line 9:
| Get object [[boundingBoxReal]] max values and store them with [[setVariable]] ["BIS_EGSpectator_objectBBD", [maxWidth, maxLength, maxHeight]] for later calls.
| Get object [[boundingBoxReal]] max values and store them with [[setVariable]] ["BIS_EGSpectator_objectBBD", [maxWidth, maxLength, maxHeight]] for later calls.


| [object] call [[BIS_fnc_getObjectBBD]]
|s1=[object] call [[BIS_fnc_getObjectBBD]]


|p1= object: [[Object]] - object to measure
|p1= object: [[Object]] - object to measure

Revision as of 15:57, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[object] call BIS_fnc_getObjectBBD
Parameters:
object: Object - object to measure
Return Value:
Array to format [maxWidth, maxLength, maxHeight]

Examples

Example 1:
[player] call BIS_fnc_getObjectBBD;
Example 2:
[vehicle player] call BIS_fnc_getObjectBBD;

Additional Information

See also:
boundingBoxboundingBoxRealsizeOf

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