BIS fnc objectHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Return object height defined by it's bounding box and ev. offset/fix. |= Description
____________________________________________________________________________________________


Description:
| object call [[BIS_fnc_objectHeight]] |= Syntax
Return object height defined by it's bounding box and ev. offset/fix.
____________________________________________________________________________________________
 
Parameter(s):
_this:object - input/evaluated object
 
Returns:
_height:scalar - height of the evaluated object
 
Example:
_height = _object call BIS_fnc_objectHeight;
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= object: [[Object]] - Evaluated object|= Parameter 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_objectHeight]]; --> |= Syntax
| [[Number]] - Height of the object|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[[player]] [[call]] [[BIS_fnc_objectHeight]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[boundingBox]], [[sizeOf]], [[boundingBoxReal]], [[boundingCenter]] |= See also
}}


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 16:23, 5 June 2018

Hover & click on the images for description

Description

Description:
Return object height defined by it's bounding box and ev. offset/fix.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
object call BIS_fnc_objectHeight
Parameters:
object: Object - Evaluated object
Return Value:
Number - Height of the object

Examples

Example 1:
player call BIS_fnc_objectHeight;

Additional Information

See also:
boundingBoxsizeOfboundingBoxRealboundingCenter

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


Notes

Bottom Section