getHit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "v1\.93\.[0-9]{6}" to "v1.94")
Line 22: Line 22:
|p2= selection: [[String]] - selection part name
|p2= selection: [[String]] - selection part name


| [[Number]] (prior to Arma 3 v1.93.145625, [[Nothing]] was return when invalid ''selection'' was given)
| [[Number]] (prior to Arma 3 v1.94, [[Nothing]] was return when invalid ''selection'' was given)


|x1= <code>[[player]] [[getHit]] "head";</code>
|x1= <code>[[player]] [[getHit]] "head";</code>

Revision as of 10:15, 3 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
vehicle : Object - vehicle to be queried
selection: String - selection part name
Return Value:
Return value needed

Examples

Example 1:
player getHit "head";
Example 2:
_car getHit "motor";

Additional Information

See also:
setHitgetHitPointDamagesetHitPointDamagesetDamagedamagegetHitIndexsetHitIndex

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note