---
name: "BIS_fnc_sceneSetObjects"
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_sceneSetObjects
revid: 324235
updated: 2022-07-01T12:00:40Z
---

# BIS_fnc_sceneSetObjects

*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

This function sets objects positions and direction relative to the chosen object.

> [!WARNING]
> Same as its [GET](../functions/BIS_fnc_sceneGetObjects.md) counterpart (at least in Arma 3), this function does not work as intended as it does not set objects' direction properly. All objects will be created with a zero azimuth.

## Syntax

```sqf
[centre, objectsArray, applyOffset, stopped] call BIS_fnc_sceneSetObjects
```

**Parameters:**

- `centre`: [Object](../topics/Object.md) or [String](../topics/String.md) - object or marker name - **NOT** a [Position](../topics/Position.md)
- `objectsArray`: [Array](../topics/Array.md) - see [BIS_fnc_sceneGetObjects](../functions/BIS_fnc_sceneGetObjects.md) for format information
- `applyOffset`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to apply height offset
- `stopped`: [Anything](../topics/Anything.md) - if provided and if `BIS_debugModules` is defined, units will be [stopped](../commands/stop.md)

**Returns:** [Boolean](../topics/Boolean.md)

## Examples

### Example 1

```sqf
[player, _arrayOfObjects, false] call BIS_fnc_sceneSetObjects;
```

## See also

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

<sub>Source: [BI Community Wiki — BIS fnc sceneSetObjects](https://community.bistudio.com/wiki/BIS_fnc_sceneSetObjects) (revision 324235).</sub>
