handsHit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|H]]
[[Category:Scripting Commands ArmA|H]]


back to [[Scripting_Reference#H|COMREF]]


<h2 style="color:#000066"> '''handsHit ''soldier'''''</h2>
<h2 style="color:#000066"> '''handsHit ''soldier'''''</h2>

Revision as of 13:12, 23 April 2006


handsHit soldier


Operand types:

soldier: Object

Type of returned value:

Number

Description:

Check if soldiers hands are hit (inaccurate aiming).


Example:

? (handsHit player) : hint "Ouch!!"