Arma 3 Scripting

civilian

  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · original wiki page

Description

Pre-defined variable for the civilian side.

When used in a format statement (hint format ["%1", civilian]), the string returned is "CIV".

Syntax

civilian

Returns: Side

Examples

Example 1

SQS:

? side _unit == civilian : hint "This is a civilian unit!"

Example 2

SQF:

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

See also

side · west · east · resistance · sideEmpty · sideAmbientLife

Community notes

Ceeeb

In OFP v1.96, empty vehicles, objects and dead soldiers are on side civilian.

KC Grimes

In Arma 3 v1.82, units where setCaptive and/or setUnconscious are set to true are on side civilian, regardless of low rating (Renegade status).