---
name: "sideEnemy"
type: command
status: ok
groups: ["Sides"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/sideEnemy
revid: 369191
updated: 2024-09-03T10:34:47Z
---

# sideEnemy

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

## Description

The enemy [side](../topics/Side.md) which is used for renegades. Units of this side are hostile to everyone.
- To join [sideEnemy](../commands/sideEnemy.md), you can attack members of your own side or use [addRating](../commands/addRating.md).
- When below a [rating](../commands/rating.md) of -2000 units switch automatically to this side.

## Syntax

```sqf
sideEnemy
```

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

## Examples

### Example 1

```sqf
if (side player == sideEnemy) then
{
    hint "We've got a renegade!";
};
```

## See also

[addRating](../commands/addRating.md) · [rating](../commands/rating.md) · [Side](../topics/Side.md) · [side](../commands/side.md) · [west](../commands/west.md) · [east](../commands/east.md) · [resistance](../commands/resistance.md) · [civilian](../commands/civilian.md) · [sideLogic](../commands/sideLogic.md) · [sideFriendly](../commands/sideFriendly.md) · [sideUnknown](../commands/sideUnknown.md) · [playerSide](../commands/playerSide.md) · [sideEmpty](../commands/sideEmpty.md) · [sideAmbientLife](../commands/sideAmbientLife.md) · Side Relations

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