BIS fnc getObjectBBD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [object] call [[BIS_fnc_getObjectBBD]] |= | | [object] call [[BIS_fnc_getObjectBBD]] |SYNTAX= | ||
|p1= object: [[Object]] - object to measure |= Parameter 1 | |p1= object: [[Object]] - object to measure |= Parameter 1 | ||
| [[Array]] to format [maxWidth, maxLength, maxHeight] |= | | [[Array]] to format [maxWidth, maxLength, maxHeight] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[boundingBox]], [[boundingBoxReal]], [[sizeOf]] |= | | [[boundingBox]], [[boundingBoxReal]], [[sizeOf]] |SEEALSO= | ||
}} | }} |
Revision as of 11:28, 7 April 2019
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