|
|
Line 1: |
Line 1: |
| {{Command|= Comments
| | #redirect [[handsHit]] |
| ____________________________________________________________________________________________
| |
| | |
| | ofp |= Game name
| |
| | |
| |1.5|= Game version
| |
| | |
| |arg= global |= Arguments in MP
| |
| ____________________________________________________________________________________________
| |
| | |
| | Return the damage value of a players or AI hands |= Description
| |
| ____________________________________________________________________________________________
| |
| | |
| | [[Number]] <nowiki>=</nowiki> '''handShit''' object (Man) |= Syntax
| |
| | |
| |p1= object: [[Object]] (Man) |= Parameter 1
| |
| | |
| | [[Number]] -
| |
| The returned number is in range 0 (healthy) to 1 (heavily injured). |= Return value
| |
| ____________________________________________________________________________________________
| |
|
| |
| |x1= <pre>if((handShit player) > 0) then { player groupChat "Medic! My hands are injured!"; };</pre> |= Example 1
| |
| ____________________________________________________________________________________________
| |
| | |
| | [[damage]], [[setDamage]], [[setDammage]], [[getDammage]], [[setHit]] |= See also
| |
| | |
| }}
| |
| | |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
| | |
| <!-- Note Section END -->
| |
| </dl>
| |
| | |
| <h3 style="display:none">Bottom Section</h3>
| |
| | |
| [[Category:Scripting Commands|DAMAGE]]
| |
| [[Category:Scripting Commands OFP 1.96|DAMAGE]]
| |
| [[Category:Scripting Commands ArmA|DAMAGE]]
| |
| [[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
| |