Arma 3 Scripting

Command in Mission Information

getMissionLayers

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

Description

Returns a list of all layers created in Eden Editor. Designed to be used during a scenario. Default layers (BLUFOR, OPFOR...) are not returned.

Syntax

getMissionLayers

Returns: Array of Strings - names of layers

Examples

Example 1

getMissionLayers; // ["Electronics","Camp Endurance","UGV Workstation","Comments","Extraction Air","Comments","Extraction Ground","Extraction","test"]

See also

getMissionLayerEntities