---
name: "waypointAttachedVehicle"
type: command
status: ok
groups: ["Waypoints"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/waypointAttachedVehicle
revid: 377749
updated: 2026-01-03T00:58:03Z
---

# waypointAttachedVehicle

*Command · Waypoints · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Gets the vehicle attached to the waypoint.

A vehicle can be attached to a waypoint by
- creating the waypoint on top of the vehicle in the 2D Editor
- using [waypointAttachVehicle](../commands/waypointAttachVehicle.md)

## Syntax

```sqf
waypointAttachedVehicle waypoint
```

**Parameters:**

- `waypoint`: Waypoint

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

## Examples

### Example 1

```sqf
waypointAttachedVehicle [groupOne, 1];
```

### Example 2

```sqf
waypointAttachedVehicle [group player, currentWaypoint group player];
```

## See also

[attachObject](../commands/attachObject.md) · [attachTo](../commands/attachTo.md) · [attachedObjects](../commands/attachedObjects.md) · [attachedTo](../commands/attachedTo.md) · [lightAttachObject](../commands/lightAttachObject.md) · [triggerAttachVehicle](../commands/triggerAttachVehicle.md) · [attachedObject](../commands/attachedObject.md)

<sub>Source: [BI Community Wiki — waypointAttachedVehicle](https://community.bistudio.com/wiki/waypointAttachedVehicle) (revision 377749).</sub>
