Revision Difference
Enums/HITGROUP#516046
<cat>enum</cat>
<enumeration>
<description>Enumerations used by <page>GM:ScalePlayerDamage</page> and <page>GM:ScaleNPCDamage</page> and returned by <page>Player:LastHitGroup</page>.</description>
<fields>
{{EnumField|HITGROUP_GENERIC|0|1:1 damage. Melee weapons typically hit this hitgroup.
<item key="HITGROUP_GENERIC" value="0">1:1 damage. Melee weapons typically hit this hitgroup.
This hitgroup is not present on default player models.
It is unknown how this is generated in <page>GM:ScalePlayerDamage</page>, but it occurs when shot by NPCs ( npc_combine_s ) for example.
It is unknown how this is generated in <page>GM:ScalePlayerDamage</page>, but it occurs when shot by NPCs ( npc_combine_s ) for example.</item><item key="HITGROUP_HEAD" value="1">Head</item><item key="HITGROUP_CHEST" value="2">Chest</item><item key="HITGROUP_STOMACH" value="3">Stomach</item><item key="HITGROUP_LEFTARM" value="4">Left arm</item><item key="HITGROUP_RIGHTARM" value="5">Right arm</item><item key="HITGROUP_LEFTLEG" value="6">Left leg</item><item key="HITGROUP_RIGHTLEG" value="7">Right leg</item><item key="HITGROUP_GEAR" value="10">Gear. Supposed to be belt area.
⤶
This hitgroup is not present on default player models.</item>⤶
</fields>
</enumeration>
{{EnumField|HITGROUP_HEAD|1|Head}}{{EnumField|HITGROUP_CHEST|2|Chest}}{{EnumField|HITGROUP_STOMACH|3|Stomach}}{{EnumField|HITGROUP_LEFTARM|4|Left arm}}{{EnumField|HITGROUP_RIGHTARM|5|Right arm}}{{EnumField|HITGROUP_LEFTLEG|6|Left leg}}{{EnumField|HITGROUP_RIGHTLEG|7|Right leg}}{{EnumField|HITGROUP_GEAR|10|Gear. Supposed to be belt area.⤶
⤶
This hitgroup is not present on default player models.}}⤶
}}