---
name: "lifeState"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/lifeState
revid: 329358
updated: 2022-07-27T12:23:13Z
---

# lifeState

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

Locality: arguments **global**

## Description

Returns the life state of the given unit.

| Arma 2 | Arma 3 |
|---|---|
| - "ALIVE"<br>- "DEAD"<br>- "DEAD-RESPAWN"<br>- "DEAD-SWITCHING"<br>- "ASLEEP"<br>- "UNCONSCIOUS" | - "HEALTHY"<br>- "DEAD"<br>- "DEAD-RESPAWN"<br>- "DEAD-SWITCHING"<br>- "INCAPACITATED"<br>- "INJURED" |

> [!NOTE]
> **Arma 3:** In Arma 3, [lifeState](../commands/lifeState.md) seems to change to "INJURED" when `damage aliveUnit >= 0.1` (0.1 seeming to be the value defined in config under "InjuredTreshold" [sic]). When the state is "INCAPACITATED", a sub-state is available via [incapacitatedState](../commands/incapacitatedState.md) command.

## Syntax

```sqf
lifeState unit
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
private _lifeState = lifeState player;
```

## See also

[setUnconscious](../commands/setUnconscious.md) · [incapacitatedState](../commands/incapacitatedState.md)

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