---
name: "BIS_fnc_createSimpleObject"
type: function
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.62"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_createSimpleObject
revid: 352418
updated: 2024-02-09T15:26:08Z
---

# BIS_fnc_createSimpleObject

*Function · Object Manipulation · Arma 3 v1.62*

## Description

Creates non-simulated framerate and network performance friendly object - a Simple Object - and applies different adjustments to fake non-existing physX and engine interactions. The adjustments need either to be stored in the object config or provided as the function input, otherwise they need to be done manually.

Simple objects cannot be destroyed and do not interact with the environment. They are useful for creating low performance-demanding static compositions (walls, rocks, wrecks, …) and/or environments where shooting and collisions are not expected.

## Syntax

```sqf
[input, position, direction, followTerrain, forceSuperSimpleObject, local] call BIS_fnc_createSimpleObject
```

**Parameters:**

- `input`: [String](../topics/String.md) or [Array](../topics/Array.md):
  - [String](../topics/String.md): classname of the object to be created. This is the preferred way if the asset config definition contains the adjustment data or the data are not needed (most objects do not need adjustments).
  - [Array](../topics/Array.md): adjustment data in format [class, model, reversed, verticalOffset, animationAdjustments, selectionsToHide]:
    - class: [String](../topics/String.md) - (Optional, default "") asset CfgVehicles config class (**at least either *model* or *class* must be provided, ideally both**)
    - model: [String](../topics/String.md) - (Optional, default "") Path to the vehicle p3d model; needs to start without backslash and must end with the proper file extension ".p3d"
    - reversed: [Number](../topics/Number.md) - (Optional, default 0) some objects, usually vehicles, are reversed in p3d; valid values are:
      - 1: reverse
      - 0: no change - any value other than 1 will result in no change
    - verticalOffset: [Number](../topics/Number.md) - (Optional, default 0) fix for non-existant physX; usually needed only for vehicles
    - animationAdjustments: [Array](../topics/Array.md) - (Optional, default `[]`) animation that need to be animated to given state, in format [animationName, animationState]:
      - animationName: [String](../topics/String.md) - animation name
      - animationState: [Number](../topics/Number.md) - animation state
    - selectionsToHide: [Array](../topics/Array.md) - (Optional, default `[]`) all listed selections will be hidden
- `position`: [Array](../topics/Array.md) format [PositionASL](../topics/Position.md#positionasl) - the object will be placed by the **model centre**'s position (see [getPosWorld](../commands/getPosWorld.md))
- `direction`: [Number](../topics/Number.md) - (Optional, default 0)
- `followTerrain`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) [true](../commands/true.md) to follow terrain inclination, [false](../commands/false.md) to be horizontally aligned
- `forceSuperSimpleObject`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) [true](../commands/true.md) to create a **Super Simple Object** from p3d path (that **must** be provided)
- `local`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) [true](../commands/true.md) to create [local](../commands/local.md) instance of the object *(since arma3 2.08)*

**Returns:** [Object](../topics/Object.md) - the created Simple Object, [objNull](../commands/objNull.md) if creation failed

## Examples

### Example 1

```sqf
["B_Boat_Armed_01_minigun_F", getPosWorld player, getDir player] call BIS_fnc_createSimpleObject;
```

### Example 2

```sqf
["B_Boat_Armed_01_minigun_F", player modelToWorldWorld [0,5,0], getDir player + 90, false, false] call BIS_fnc_createSimpleObject;
```

## See also

Arma 3: Simple Objects · [createSimpleObject](../commands/createSimpleObject.md) · [BIS_fnc_adjustSimpleObject](../functions/BIS_fnc_adjustSimpleObject.md) · [BIS_fnc_replaceWithSimpleObject](../functions/BIS_fnc_replaceWithSimpleObject.md) · [BIS_fnc_simpleObjectData](../functions/BIS_fnc_simpleObjectData.md) · [getPosWorld](../commands/getPosWorld.md) · [setPosWorld](../commands/setPosWorld.md)

<sub>Source: [BI Community Wiki — BIS fnc createSimpleObject](https://community.bistudio.com/wiki/BIS_fnc_createSimpleObject) (revision 352418).</sub>
