{"name":"handsHit","title":"handsHit","type":"command","url":"https://community.bistudio.com/wiki/handsHit","revid":329502,"updated":"2022-07-29T13:32:42Z","groups":["Object Manipulation"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"global"},"description":"Checks if a soldier's hands are hit, which results in inaccurate aiming.","syntaxes":[{"syntax":"handsHit unitName","params":[{"name":"unitName","type":"Object","type_expr":"Object"}],"returns":{"type":"Number","type_expr":"Number","description":"if the hands are not damaged, the returned value is 0. If the hands are hit or the unit is dead, the returned value is 1."},"form":"unary","right":{"text":"unitName"}}],"examples":[{"text":"```sqs\n? (handsHit player == 1) : player globalChat \"Ouch! Don't shoot at my hands dammit!\"\n```","code":["? (handsHit player == 1) : player globalChat \"Ouch! Don't shoot at my hands dammit!\""]}],"see_also":["damage"]}