Arma 3 Scripting

Command in Program Flow

default

Also available as Markdown and JSON, or read the original wiki page.

Description

Defines a Switch Type default case - does not need a colon to define its block. See switch for more information.

Syntax

default a

Parameters:

Returns: Nothing

Examples

Example 1

switch (_condition) do
{
    case 1: { hint "1" };
    case 2: { hint "2" };
    default { hint "default" }; // no colon after default
};

See also

Control Structures · switch · case