---
name: "resistance"
type: command
status: ok
groups: ["Sides"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/resistance
revid: 308939
updated: 2022-04-18T19:51:00Z
---

# resistance

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

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

## Description

Pre-defined variable for the resistance [side](../topics/Side.md).

## Syntax

```sqf
resistance
```

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

## Examples

### Example 1

```sqf
if (side _unit == resistance) then
{
    hint "This is a resistance unit!";
};
```

### Example 2

```sqf
hint format ["%1", resistance]; // Returns "GUER"
```

## See also

[side](../commands/side.md) · [west](../commands/west.md) · [east](../commands/east.md) · [civilian](../commands/civilian.md) · [sideEmpty](../commands/sideEmpty.md) · [sideAmbientLife](../commands/sideAmbientLife.md)

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