Arma 3 Scripting

BIN_fnc_getObjectBoundingBarrel

  • Arma 3 v1.94

Function · Markdown · JSON · original wiki page

Description

Returns bounding barrel of the given object

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

[param0] call BIN_fnc_getObjectBoundingBarrel

Parameters:

Returns: ARRAY in format [radius, height, offset]. Offset is negative if object Z position is higher than the lower bound

Examples

Example 1

myObj call BIN_fnc_getObjectBoundingBarrel

Function header

The comment at the top of the function's file in the game; this page's params, syntax, returns, examples, description come from it.

/*
    Killzone_Kid

Description:
    Returns bounding barrel of the given object

Parameter(s):
    0: OBJECT - object to measure

Returns:
    ARRAY in format [radius, height, offset]. Offset is negative if object Z position is higher than the lower bound

Example:
    myObj call BIN_fnc_getObjectBoundingBarrel
*/