setHitIndex: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> </dl>" to "") |
||
Line 33: | Line 33: | ||
|seealso= [[getAllHitPointsDamage]], [[getHitIndex]], [[getHitPointDamage]], [[setHitPointDamage]], [[setHit]], [[getHit]], [[setDamage]], [[damage]] | |seealso= [[getAllHitPointsDamage]], [[getHitIndex]], [[getHitPointDamage]], [[setHitPointDamage]], [[setHit]], [[getHit]], [[setDamage]], [[damage]] | ||
}} | }} | ||
Revision as of 23:47, 1 March 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicle : Object - vehicle to be damaged
- hitPartIndex: Number - hit part index of the Hit Point
- damage: Number - level of damage
- useEffects: Boolean - (Optional, default true) false to skip destruction effects. Template:Since
- Return Value:
- Return value needed
Examples
- Example 1:
vehicle player setHitIndex [1, 1];
- Example 2:
player setHitIndex [7, 0.5];
Additional Information
- See also:
- getAllHitPointsDamagegetHitIndexgetHitPointDamagesetHitPointDamagesetHitgetHitsetDamagedamage
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