---
name: "BIS_fnc_moveToRespawnPosition"
type: function
status: ok
groups: ["Respawn"]
arma3_since: "1.00"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_moveToRespawnPosition
revid: 328433
updated: 2022-07-13T16:00:51Z
---

# BIS_fnc_moveToRespawnPosition

*Function · Respawn · Arma 3 v1.00*

Locality: arguments **local**

## Description

Move given unit to given respawn position. Units moved to height >= 30m will start on parachute. Position [0,0,0] is blacklisted. This function must be executed where unit to be moved is [local](../topics/Multiplayer_Scripting.md#locality).

## Syntax

```sqf
[unit, position, canBeDead] call BIS_fnc_moveToRespawnPosition
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - unit to move
- `position`: [Object](../topics/Object.md), [Group](../topics/Group.md), [String](../topics/String.md) or [Array](../topics/Array.md)
  - [Object](../topics/Object.md) or [Group](../topics/Group.md) - Object or Group to move unit to. Move to the object position or inside an object if the object is a vehicle, or if group or unit is in vehicle and there is an empty seat
  - [String](../topics/String.md) - Marker to move unit to. Marker size will be used for random placement area and marker direction for unit direction
  - [Array](../topics/Array.md) - Precise [PositionAGL](../topics/Position.md#positionagl) to move unit to. [x,y] array will be converted to [x,y,0]
- `canBeDead`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) whether or not dead are allowed:
  - [true](../commands/true.md) - moved unit and/or object to which unit is moved can be dead
  - [false](../commands/false.md) - both moved unit and vehicle or unit at position (if any) must be alive

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md): move succeeded, [false](../commands/false.md): move failed

## Examples

### Example 1

```sqf
[player, "SpawnMarker1"] call BIS_fnc_moveToRespawnPosition;
```

<sub>Source: [BI Community Wiki — BIS fnc moveToRespawnPosition](https://community.bistudio.com/wiki/BIS_fnc_moveToRespawnPosition) (revision 328433).</sub>
