{"name":"isFormationLeader","title":"isFormationLeader","type":"command","url":"https://community.bistudio.com/wiki/isFormationLeader","revid":349302,"updated":"2023-11-08T14:52:18Z","groups":["Groups"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","description":"Returns true if the specified unit is subgroup leader.","syntaxes":[{"syntax":"isFormationLeader unit","params":[{"name":"unit","type":"Object","description":"unit being checked.","type_expr":"Object"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if unit is subgroup leader."},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_isLeader = isFormationLeader player;"]}],"see_also":["commandFollow","doFollow","formationLeader","formLeader","leader","selectLeader","setLeader"]}