BIS fnc getObjectBBD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 7: | Line 7: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Get object [[boundingBoxReal]] max values and store them with [[setVariable]] ["BIS_EGSpectator_objectBBD", [maxWidth, maxLength, maxHeight]] for later calls. | |descr= Get object [[boundingBoxReal]] max values and store them with [[setVariable]] ["BIS_EGSpectator_objectBBD", [maxWidth, maxLength, maxHeight]] for later calls. | ||
|s1=[object] call [[BIS_fnc_getObjectBBD]] | |s1=[object] call [[BIS_fnc_getObjectBBD]] |
Revision as of 20:48, 13 June 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