{"name":"formationTask","title":"formationTask","type":"command","url":"https://community.bistudio.com/wiki/formationTask","revid":379516,"updated":"2026-10-31T00:29:09Z","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":"Return the current task of the unit in the formation.","syntaxes":[{"syntax":"formationTask unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"String","type_expr":"String","description":"\"EXCLUDED\", \"MOVE\", \"COVER\", \"LEADER\", \"NOTHING\""},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_currentTask = formationTask _unit;"]}],"see_also":["setFormationTask"]}