Arma 3 Scripting

Topic in Data Types

For Type

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

Description: This type handles 'For' cycles.

Usage of this type:

for "_var" from :expr: to :expr: [step <expr>] do {..code..};

Second usage:

for [":initPhase:",":condition:",":updatePhase:"] do {...code...};

Introduced with Armed Assault, does not refer to Cold War Crisis or Resistance.

See Also

for, Control Structures