Arma 3 Scripting

step

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

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