Arma 3 Scripting

to

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

Command · Markdown · JSON · original wiki page

Description

Continue sequence of for construct. It sets the end value of the index variable.

Syntax

forType to b

Parameters:

Returns: For Type

Examples

Example 1

for "_i" from 10 to 20 do
{
    hint str _i; // will hint from 10 to 20, spaced by 1 second
    sleep 1;
};

See also

Control Structures · for · from · step