BIS fnc getObjectBBD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Some wiki formatting)
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Object Manipulation


|1.00|= Game version
|descr= 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. |= Description
|s1= [object] call [[BIS_fnc_getObjectBBD]]
____________________________________________________________________________________________


| [object] call [[BIS_fnc_getObjectBBD]] |= Syntax
|p1= object: [[Object]] - object to measure


|p1= object: [[Object]] - object to measure |= Parameter 1
|r1= [[Array]] to format [maxWidth, maxLength, maxHeight]


| [[Array]] to format [maxWidth, maxLength, maxHeight] |= Return value
|x1= <sqf>[player] call BIS_fnc_getObjectBBD;</sqf>
____________________________________________________________________________________________


|x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> |= Example 1
|x2= <sqf>[vehicle player] call BIS_fnc_getObjectBBD;</sqf>
 
|x2= <code><nowiki>[</nowiki>[[vehicle]] [[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> |= Example 2
____________________________________________________________________________________________
 
| [[boundingBox]], [[boundingBoxReal]], [[sizeOf]] |= See also


|seealso= [[boundingBox]] [[boundingBoxReal]] [[sizeOf]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:getObjectBBD}}]]
[[Category:Functions|{{uc:getObjectBBD}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getObjectBBD}}]]

Latest revision as of 13:13, 13 July 2022

Hover & click on the images for description

Description

Description:
Get object boundingBoxReal max values and store them with setVariable ["BIS_EGSpectator_objectBBD", [maxWidth, maxLength, maxHeight]] for later calls.
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:
boundingBox boundingBoxReal sizeOf

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