---
name: "getShotParents"
type: command
status: ok
groups: ["Weapons"]
arma3_since: "1.62"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getShotParents
revid: 378943
updated: 2026-08-27T16:27:34Z
---

# getShotParents

*Command · Weapons · Arma 3 v1.62*

## Description

Returns shot information for the given projectile.
If shot was fired by a soldier on foot or in FFV position in vehicle, the soldier is returned for the vehicle.

## Syntax

```sqf
getShotParents projectile
```

**Parameters:**

- `projectile`: [Object](../topics/Object.md) - the actual projectile shot

**Returns:** [Array](../topics/Array.md) - [vehicle, instigator] - Where vehicle is the vehicle the shot was fired from, and the instigator is the person who pulled the trigger

## Examples

### Example 1

```sqf
_shotParents = getShotParents myProjectile;
```

### Example 2

```sqf
batmobile addEventHandler ["Fired", { systemChat str getShotParents (_this select 6) }];
```

## See also

[setShotParents](../commands/setShotParents.md)

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