---
name: "BIS_fnc_sceneGetObjects"
type: function
status: broken
groups: ["Broken Functions", "Scenes"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_sceneGetObjects
revid: 370889
updated: 2025-02-21T10:44:04Z
---

# BIS_fnc_sceneGetObjects

*Function · Broken Functions, Scenes · Arma 3 v0.50 · introduced in Arma 2 v1.00*

> [!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](../commands/copyToClipboard.md).

Result is to format:

```sqf
[
    // 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

```sqf
[centre, radius, type] call BIS_fnc_sceneGetObjects
```

**Parameters:**

- `centre`: [Object](../topics/Object.md) or [String](../topics/String.md) - object or marker name - **NOT** a [Position](../topics/Position.md)
- `radius`: [Number](../topics/Number.md) - (Optional, default 20)
- `type`: [String](../topics/String.md) - (Optional, default "All") - objects type (see [nearestObjects](../commands/nearestObjects.md))

**Returns:** [Script Handle](../topics/Script_Handle.md)

## Examples

### Example 1

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

## See also

[BIS_fnc_sceneSetObjects](../functions/BIS_fnc_sceneSetObjects.md) · [BIS_fnc_objectsGrabber](../functions/BIS_fnc_objectsGrabber.md) · [BIS_fnc_objectsMapper](../functions/BIS_fnc_objectsMapper.md)

<sub>Source: [BI Community Wiki — BIS fnc sceneGetObjects](https://community.bistudio.com/wiki/BIS_fnc_sceneGetObjects) (revision 370889).</sub>
