handsHit
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Checks if a soldier's hands are hit, which results in inaccurate aiming.
Syntax
- Syntax:
- Number = handsHit Person
- Parameters:
- Person: Object
- Return Value:
- Number - If the hands aren't 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!"
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- damage

