Garry's Mod Wiki

Revision Difference

Enums/HITGROUP#514995

<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.⤶ ⤶ ⤶ ⤶ 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.⤶ </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.}}⤶ }}