{"name":"groups","operator":null,"title":"groups","type":"command","url":"https://community.bistudio.com/wiki/groups","revid":338341,"updated":"2023-02-28T14:38:39Z","groups":["Groups"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.12"}],"since":{"game":"arma3","name":"Arma 3","version":"2.12"},"arma3_since":"2.12","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns an array with all groups of given side.","syntaxes":[{"syntax":"groups side","since":null,"effect":null,"exec":null,"params":[{"name":"side","type":"Side","optional":false,"default":null,"description":null,"types":["Side"],"since":null,"text":"side: Side"}],"returns":{"type":"Array of Groups","types":["Array","Group"],"description":null,"text":"Array of Groups"},"form":"unary","operator":null,"left":null,"right":{"text":"side","types":["Side"]}}],"examples":[{"text":"```sqf\nprivate _allBluforGroups = groups blufor; // equivalent of allGroups select { side _x == blufor };\n```","code":["private _allBluforGroups = groups blufor; // equivalent of allGroups select { side _x == blufor };"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["group","allGroups","units","allUnits"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Groups","Introduced with Arma 3 version 2.12","Scripting Commands"]}