{"name":"formationDirection","title":"formationDirection","type":"command","url":"https://community.bistudio.com/wiki/formationDirection","revid":310863,"updated":"2022-05-07T20:24: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","locality":{"argument":"local"},"description":"Return the direction in degrees of the 'unit' watching in formation.","syntaxes":[{"syntax":"formationDirection unitName","params":[{"name":"unitName","type":"Object","type_expr":"Object"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"unitName"}}],"examples":[{"code":["_degrees = formationDirection _unit;"]}],"see_also":["setFormDir","formation","setFormation"]}