Arma 3 Scripting

default

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · 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