---
name: "BIS_fnc_carrier01PosUpdate"
type: function
status: ok
groups: ["Aircraft Carrier"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_carrier01PosUpdate
revid: 379552
updated: 2026-10-31T13:46:44Z
---

# BIS_fnc_carrier01PosUpdate

*Function · Aircraft Carrier · Arma 3 v1.00*

## Description

Moves all parts of a dynamic aircraft carrier back into place relative to its base object.
For every entry of the base's `"bis_carrierParts"` variable, the part gets the base's [vectorDir](../commands/vectorDir.md) and [vectorUp](../commands/vectorUp.md) and is moved with [setPosWorld](../commands/setPosWorld.md) to the position of its memory point on the base. It does nothing where [isServer](../commands/isServer.md) is [false](../commands/false.md).

The function is called from the carrier base's `Dragged3DEN` [Eden event handler](../topics/Eden_Editor_Event_Handlers.md) when the carrier is dragged in Eden Editor. As the code does not depend on Eden, it can also be called by scripts after the base has been moved during a mission.

## Syntax

```sqf
carrier call BIS_fnc_carrier01PosUpdate
```

**Parameters:**

- `carrier`: [Object](../topics/Object.md) - the carrier base object holding the `"bis_carrierParts"` variable

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

## Examples

### Example 1

Carrier base config (event handlers as given in the function's header):

```cpp
class EventHandlers
{
    init = "_this call BIS_fnc_carrier01Init";
    AttributesChanged3DEN = "_this call BIS_fnc_carrier01EdenInit";
    Dragged3DEN = "_this call BIS_fnc_carrier01PosUpdate";
    RegisteredToWorld3DEN = "_this call BIS_fnc_carrier01EdenInit";
    UnregisteredFromWorld3DEN = "_this call BIS_fnc_carrier01EdenDelete";
};
```

### Example 2

Move a carrier during a mission (server side):

```sqf
myCarrier setPosWorld (getPosWorld myCarrier vectorAdd [0, 500, 0]);
myCarrier call BIS_fnc_carrier01PosUpdate;
```

## See also

[BIS_fnc_carrier01Init](../functions/BIS_fnc_carrier01Init.md) · [BIS_fnc_carrier01EdenInit](../functions/BIS_fnc_carrier01EdenInit.md) · [BIS_fnc_carrier01EdenDelete](../functions/BIS_fnc_carrier01EdenDelete.md) · [BIS_fnc_destroyer01PosUpdate](../functions/BIS_fnc_destroyer01PosUpdate.md)

<sub>Source: [BI Community Wiki — BIS fnc carrier01PosUpdate](https://community.bistudio.com/wiki/BIS_fnc_carrier01PosUpdate) (revision 379552).</sub>
