Arma 3 Scripting

Command in Object Manipulation

handsHit

Also available as Markdown and JSON, or read the original wiki page.

Description

Checks if a soldier's hands are hit, which results in inaccurate aiming.

Syntax

handsHit unitName

Parameters:

Returns: Number - 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.

Examples

Example 1

? (handsHit player == 1) : player globalChat "Ouch! Don't shoot at my hands dammit!"

See also

damage