handsHit
- Global argument
- Arma 3 v0.50
- First in Operation Flashpoint v1.00
Command · Markdown · JSON · original wiki page
Description
Checks if a soldier's hands are hit, which results in inaccurate aiming.
Syntax
handsHit unitName
Parameters:
unitName: Object
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!"