Arma 3 Scripting

BIS_fnc_sceneGetObjects

  • Broken
  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · also in Scenes · Markdown · JSON · original wiki page

Warning

This function is listed as broken on the wiki.

Description

Warning

This function is broken (at least in Arma 3) as it has a typo, displaying an error on each use! (typo line 63, [centrum] instead of [_centrum]).

This function gets objects (but centre object) positions and direction relative to the choosen object and copies the result to the clipboard via copyToClipboard.
Result is to format:

[
    // 11 elements for one object
    _nameOfObject, _objectClass, _objectToGet, _computedAngle, _distance, _newDir, _vectorUp, _vectorDir, _animation, _elevASL, _elev,
    _nameOfObject, _objectClass, _objectToGet, _computedAngle, _distance, _newDir, _vectorUp, _vectorDir, _animation, _elevASL, _elev,
    // ...
]

Important

Please note that the clipboard result is a one-level array, meaning that all parameters are defined one after the other!

Syntax

[centre, radius, type] call BIS_fnc_sceneGetObjects

Parameters:

Returns: Script Handle

Examples

Example 1

[player, 20, "Car"] call BIS_fnc_sceneGetObjects;

See also

BIS_fnc_sceneSetObjects · BIS_fnc_objectsGrabber · BIS_fnc_objectsMapper