{"name":"hcAllGroups","title":"hcAllGroups","type":"command","url":"https://community.bistudio.com/wiki/hcAllGroups","revid":377156,"updated":"2026-01-01T10:38:32Z","groups":["High Command"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Returns selected groups in high command.","syntaxes":[{"syntax":"hcAllGroups unit","params":[{"name":"unit","type":"Object","description":"commander","type_expr":"Object"}],"returns":{"type":"Array of Groups","type_expr":"Array<Group>"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["hcAllGroups player;"]}],"see_also":["High Command","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","onHCGroupSelectionChanged"]}