---
name: "getDammage"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getDammage
revid: 376971
updated: 2026-01-01T06:02:13Z
---

# getDammage

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

Alias: [damage](../commands/damage.md)

## Description

Returns the object damage.

## Syntax

```sqf
getDammage object
```

**Parameters:**

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

**Returns:** [Number](../topics/Number.md) in range 0..1

## Examples

### Example 1

```sqf
private _damage = getDammage player;
```

## See also

[damage](../commands/damage.md) · [setDamage](../commands/setDamage.md) · [setDammage](../commands/setDammage.md) · [setHit](../commands/setHit.md) · [getHit](../commands/getHit.md) · [getHitIndex](../commands/getHitIndex.md) · [setHitIndex](../commands/setHitIndex.md) · [getHitPointDamage](../commands/getHitPointDamage.md) · [setHitPointDamage](../commands/setHitPointDamage.md)

## Community notes

**Demonized** — 2011-05-09

[getDammage](../commands/getDammage.md) and [damage](../commands/damage.md) work fine when used on damaged vehicles after a repair from a repair truck when used in Arma 2: Operation Arrowhead patch 1.59.

---

**Ceeeb** — 2007-01-31

In **Operation Flashpoint 1.96**, it is possible for a unit to be dead and still return a getDammage value well below 1. Use \![alive](../commands/alive.md) to check if a unit is dead.

---

**UNN** — 2006-08-13

**In Operation Flashpoint** vehicles repaired in game with the Repair trucks e.t.c never get completely repaired. After being repaired, rather than returning 0 when the [damage](../commands/damage.md) command is called. They return a value equal to or less than 0.09.

Consequently any vehicle flagged as immobile (as indicated by the [canMove](../commands/canMove.md) command), remains so. At least as far as the AI are concerned. The AI will refuse to board an immobile vehicle or eject straight after boarding. Players remain unaffected and can drive the vehicle as normal. To circumvent this, use [setDamage](../commands/setDamage.md) 0 on the vehicle in question, to allow the AI to board.

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