Arma 3 Scripting

Command in Program Flow

step

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

Description

Optional step value. A countdown can be made with a negative value. If not set, the default step is 1.

Syntax

for step stepSize

Parameters:

Returns: For Type

Examples

Example 1

for "_i" from 20 to 10 step -2 do
{
    // ...
};

See also

Control Structures