Garry's Mod Wiki

Entity:GetHitBoxHitGroup

number Entity:GetHitBoxHitGroup( number hitbox, number hitboxset )

Description

Gets the hit group of a given hitbox in a given hitbox set.

Arguments

1 number hitbox
The number of the hit box.
2 number hitboxset
The number of the hit box set. This should be 0 in most cases.

Numbering for these sets start from 0. The total group count can be found with Entity:GetHitBoxSetCount.

Returns

1 number group
The hitbox group of given hitbox. See Enums/HITGROUP

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 3
Generate Html 6
SaveChanges (1) 9
Render Body 0
Render Sidebar 12