BIS fnc getObjectBBD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki>\[<\/nowiki>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 14: | Line 14: | ||
|r1= [[Array]] to format [maxWidth, maxLength, maxHeight] | |r1= [[Array]] to format [maxWidth, maxLength, maxHeight] | ||
|x1= <code> | |x1= <code>player] [[call]] [[BIS_fnc_getObjectBBD]];</code> | ||
|x2= <code> | |x2= <code>vehicle [[player]]] [[call]] [[BIS_fnc_getObjectBBD]];</code> | ||
|seealso= [[boundingBox]] [[boundingBoxReal]] [[sizeOf]] | |seealso= [[boundingBox]] [[boundingBoxReal]] [[sizeOf]] | ||
}} | }} |
Revision as of 12:40, 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:
player] call BIS_fnc_getObjectBBD;
- Example 2:
vehicle player] call BIS_fnc_getObjectBBD;
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