BIS fnc getObjectBBD: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Object Manipulation |GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Object Manipulation |GROUP1= | |gr1 = Object Manipulation |GROUP1= | ||
| Get object [[boundingBoxReal]] max values and store them with [[setVariable]] ["BIS_EGSpectator_objectBBD", [maxWidth, maxLength, maxHeight]] for later calls. |DESCRIPTION= | | 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]] |SYNTAX= | | [object] call [[BIS_fnc_getObjectBBD]] |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[Array]] to format [maxWidth, maxLength, maxHeight] |RETURNVALUE= | | [[Array]] to format [maxWidth, maxLength, maxHeight] |RETURNVALUE= | ||
|x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> |EXAMPLE1= | |x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> |EXAMPLE1= | ||
|x2= <code><nowiki>[</nowiki>[[vehicle]] [[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> |EXAMPLE2= | |x2= <code><nowiki>[</nowiki>[[vehicle]] [[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> |EXAMPLE2= | ||
| [[boundingBox]], [[boundingBoxReal]], [[sizeOf]] |SEEALSO= | | [[boundingBox]], [[boundingBoxReal]], [[sizeOf]] |SEEALSO= |
Revision as of 23:13, 16 January 2021
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:
- 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