{"name":"getAttackTarget","title":"getAttackTarget","type":"command","url":"https://community.bistudio.com/wiki/getAttackTarget","revid":309248,"updated":"2022-05-04T10:46:28Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"2.00"},"since":"arma3 2.00","arma3_since":"2.00","description":"Returns the target given unit is engaging.","syntaxes":[{"syntax":"getAttackTarget unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Object","type_expr":"Object"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["private _unitsTarget = getAttackTarget _unit;"]}],"see_also":["assignedTarget"]}