getHit: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 26: | Line 26: | ||
|x2= <code>_car [[getHit]] "motor";</code> | |x2= <code>_car [[getHit]] "motor";</code> | ||
|seealso= [[setHit]] [[getHitPointDamage]] [[setHitPointDamage]] [[setDamage]] | |seealso= [[setHit]] [[getHitPointDamage]] [[setHitPointDamage]] [[setDamage]] [[damage]], [[getHitIndex]], [[setHitIndex]] | ||
}} | }} |
Revision as of 16:26, 20 January 2022
Description
- Description:
- Returns selection damage. Same as getHitPointDamage, only the argument is selection part instead of hit point.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- vehicle getHit selection
- Parameters:
- vehicle : Object - vehicle to be queried
- selection: String - selection part name
- Return Value:
- Number - before 1.94, Nothing was returned when an invalid selection was provided
Examples
Additional Information
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