BIS fnc getObjectBBD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
(Page filling)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>#define VAR_OBJECT_BBD "BIS_EGSpectator_objectBBD"
| Get object [[boundingBoxReal]] max values and store them with [[setVariable]] ["BIS_EGSpectator_objectBBD", [maxWidth, maxLength, maxHeight]] for later calls. |= Description
____________________________________________________________________________________________


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [object] call [[BIS_fnc_getObjectBBD]] |= Syntax
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_getObjectBBD]]; --> |= Syntax
|p1= object: [[Object]] - object to measure |= Parameter 1
|p1= |= Parameter 1


| |= Return value
| [[Array]] to format [maxWidth, maxLength, maxHeight] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> |= Example 1
 
|x2= <code><nowiki>[</nowiki>[[vehicle]] [[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[boundingBox]], [[boundingBoxReal]], [[sizeOf]] |= See also


}}
}}

Revision as of 19:59, 4 April 2018


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:
Uncategorised

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

Notes

Bottom Section