---
name: "BIS_fnc_doorOpen"
type: function
status: ok
groups: ["Scripts"]
arma3_since: "1.00"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_doorOpen
revid: 364482
updated: 2024-05-16T20:41:57Z
---

# BIS_fnc_doorOpen

*Function · Scripts · Arma 3 v1.00*

Locality: arguments **global** · effect **global**

## Description

Open a door with an animated doorhandle.

> [!NOTE]
> This function uses [animate](../commands/animate.md) internally.

## Syntax

```sqf
[building, doorAnimation, upDownAnimation, downUpAnimation, animationPhase] call BIS_fnc_doorOpen
```

**Parameters:**

- `building`: [Object](../topics/Object.md) - (Optional, default [objNull](../commands/objNull.md))
- `doorAnimation`: [String](../topics/String.md) - (Optional, default "")
- `upDownAnimation`: [String](../topics/String.md) - (Optional, default "")
- `downUpAnimation`: [String](../topics/String.md) - (Optional, default "")
- `animationPhase`: [Number](../topics/Number.md) - (Optional, default 1)

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

## Examples

### Example 1

```sqf
[_house, "door_1_rot", nil, nil, 0.25]  call BIS_fnc_doorOpen;
```

## See also

[BIS_fnc_doorClose](../functions/BIS_fnc_doorClose.md) · [BIS_fnc_door](../functions/BIS_fnc_door.md) · [animate](../commands/animate.md) · [animateSource](../commands/animateSource.md) · [animateDoor](../commands/animateDoor.md)

<sub>Source: [BI Community Wiki — BIS fnc doorOpen](https://community.bistudio.com/wiki/BIS_fnc_doorOpen) (revision 364482).</sub>
