{"name":"getMissionLayers","operator":null,"title":"getMissionLayers","type":"command","url":"https://community.bistudio.com/wiki/getMissionLayers","revid":377088,"updated":"2026-01-01T09:46:21Z","groups":["Mission Information"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.56"}],"since":{"game":"arma3","name":"Arma 3","version":"1.56"},"arma3_since":"1.56","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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.","syntaxes":[{"syntax":"getMissionLayers","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Array of Strings","types":["Array","String"],"description":"names of layers","text":"Array of Strings - names of layers"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\ngetMissionLayers; // [\"Electronics\",\"Camp Endurance\",\"UGV Workstation\",\"Comments\",\"Extraction Air\",\"Comments\",\"Extraction Ground\",\"Extraction\",\"test\"]\n```","code":["getMissionLayers; // [\"Electronics\",\"Camp Endurance\",\"UGV Workstation\",\"Comments\",\"Extraction Air\",\"Comments\",\"Extraction Ground\",\"Extraction\",\"test\"]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getMissionLayerEntities"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Mission Information","Introduced with Arma 3 version 1.56","Scripting Commands"]}