BIS fnc getObjectBBD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|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. | ||
| [object] call [[BIS_fnc_getObjectBBD]] | |s1= [object] call [[BIS_fnc_getObjectBBD]] | ||
|p1= object: [[Object]] - object to measure | |p1= object: [[Object]] - object to measure | ||
|r1=[[Array]] to format [maxWidth, maxLength, maxHeight] | |r1= [[Array]] to format [maxWidth, maxLength, maxHeight] | ||
|x1= < | |x1= <sqf>[player] call BIS_fnc_getObjectBBD;</sqf> | ||
|x2= < | |x2= <sqf>[vehicle player] call BIS_fnc_getObjectBBD;</sqf> | ||
|seealso= [[boundingBox]] | |seealso= [[boundingBox]] [[boundingBoxReal]] [[sizeOf]] | ||
}} | }} |
Latest revision as of 13:13, 13 July 2022
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:
- Example 2:
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