{"name":"setFormation","operator":null,"title":"setFormation","type":"command","url":"https://community.bistudio.com/wiki/setFormation","revid":336294,"updated":"2022-12-21T11:10:07Z","groups":["Groups"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"description":"Set group formation.","syntaxes":[{"syntax":"group setFormation formation","since":null,"effect":null,"exec":null,"params":[{"name":"group","type":"Object or Group","optional":false,"default":null,"description":null,"types":["Object","Group"],"since":null,"text":"group: Object or Group"},{"name":"formation","type":"String","optional":false,"default":null,"description":"can be one of:\n- \"COLUMN\"\n- \"STAG COLUMN\"\n- \"WEDGE\"\n- \"ECH LEFT\"\n- \"ECH RIGHT\"\n- \"VEE\"\n- \"LINE\"\n- Armed Assault v1.00 \"FILE\"\n- Armed Assault v1.00 \"DIAMOND\"","types":["String"],"since":null,"text":"formation: String - can be one of:\n- \"COLUMN\"\n- \"STAG COLUMN\"\n- \"WEDGE\"\n- \"ECH LEFT\"\n- \"ECH RIGHT\"\n- \"VEE\"\n- \"LINE\"\n- Armed Assault v1.00 \"FILE\"\n- Armed Assault v1.00 \"DIAMOND\""}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"group","types":["Object","Group"]},"right":{"text":"formation","types":["String"]}}],"examples":[{"text":"```sqf\n_groupOne setFormation \"LINE\";\n```","code":["_groupOne setFormation \"LINE\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Mission Editor: Waypoints","formation"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Groups","Introduced with Operation Flashpoint version 1.00","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Scripting Commands: Global Effect","Take On Helicopters: Scripting Commands"]}