{"name":"hcLeader","title":"hcLeader","type":"command","url":"https://community.bistudio.com/wiki/hcLeader","revid":379424,"updated":"2026-10-31T00:04:41Z","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 group's high command commander.","syntaxes":[{"syntax":"hcLeader group","params":[{"name":"group","type":"Group","type_expr":"Group"}],"returns":{"type":"Object","type_expr":"Object"},"form":"unary","right":{"text":"group"}}],"examples":[{"code":["_leader = hcLeader groupName;"]}],"see_also":["High Command","hcAllGroups","hcGroupParams","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","onHCGroupSelectionChanged"],"notes":[{"user":"Dimitri Harkov","date":"2009-09-02T00:00:00Z","text":"hcLeader returns 'NULL_OBJECT' if you use it on your HC commander's group in a HC setup with subordinates. It seems to work as expected if you don't use subordinates."}]}