---
name: "getAllPylonsInfo"
type: command
status: ok
groups: ["Vehicle Loadouts"]
arma3_since: "2.02"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getAllPylonsInfo
revid: 378172
updated: 2026-03-03T11:43:19Z
---

# getAllPylonsInfo

*Command · Vehicle Loadouts · Arma 3 v2.02*

## Description

Return an array with the vehicle's all pylons info.

Note that the podObject can only be used for very few operations. It is not a real Entity.

Note until Arma 3 v2.22 the relativeDir orientation was inverted.

## Syntax

```sqf
getAllPylonsInfo vehicle
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md)

**Returns:** [Array](../topics/Array.md) of [Array](../topics/Array.md)s in format [Pylon index, Pylon name, Assigned turret, Magazine className, Magazine ammo count, [Magazine detail](../commands/currentMagazineDetail.md), Arma 3 v2.20 [relativePos, relativeDir, relativeUp], Arma 3 v2.22 podObject]

## Examples

### Example 1

```sqf
getAllPylonsInfo vehicle player;
/*
    Executed on an Mi-48 Kajman:
    [
        [1, "PylonLeft1", [0], "PylonRack_4Rnd_LG_scalpel", 4, "0:10000048", [[2.50423, -0.214772, -1.37952], [0, 0.997732, 0.0673187], [-0, -0.0673187, 0.997732]], NOID pylonpod_4x_missile_lg_scalpel_f.p3d],
        [2, "PylonLeft2", [0], "PylonRack_19Rnd_Rocket_Skyfire", 19, "0:10000050", [[1.8108, -0.15553, -1.32298], [0, 0.997732, 0.0673187], [-0, -0.0673187, 0.997732]], NOID pylonpod_rocket_skyfire_f.p3d],
        [3, "PylonRight2", [0], "PylonRack_19Rnd_Rocket_Skyfire", 19, "0:10000051", [[-1.81321, -0.15553, -1.32298], [0, 0.997732, 0.0673187], [-0, -0.0673187, 0.997732]], NOID pylonpod_rocket_skyfire_f.p3d],
        [4, "PylonRight1", [0], "PylonRack_4Rnd_LG_scalpel", 4, "0:10000052", [[-2.50664, -0.214772, -1.37952], [0, 0.997732, 0.0673187], [-0, -0.0673187, 0.997732]], NOID pylonpod_4x_missile_lg_scalpel_f.p3d]
    ]
*/
```

## See also

[ammoOnPylon](../commands/ammoOnPylon.md) · [getCompatiblePylonMagazines](../commands/getCompatiblePylonMagazines.md) · [getPylonMagazines](../commands/getPylonMagazines.md) · [setAmmoOnPylon](../commands/setAmmoOnPylon.md) · [setPylonLoadout](../commands/setPylonLoadout.md) · [setPylonsPriority](../commands/setPylonsPriority.md)

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