handShit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Get the damage of hands)
 
m (Text replacement - "#redirect " to "#REDIRECT ")
 
(2 intermediate revisions by 2 users not shown)
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 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}}}}]]

Latest revision as of 07:36, 30 December 2020

Redirect to: