getHit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 14: Line 14:


| Returns selection damage. Same as [[getHitPointDamage]], only the argument is selection part instead of hit point.
| Returns selection damage. Same as [[getHitPointDamage]], only the argument is selection part instead of hit point.
{{Informative | Some part names are in Czech; see [[Translations|translation table]].}}
{{Feature | Informative | Some part names are in Czech; see [[Translations|translation table]].}}


| vehicle [[getHit]] selection
| vehicle [[getHit]] selection

Revision as of 01:09, 7 February 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:
See also needed

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