Garry's Mod Wiki

Garry's Mod Wiki

  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 HITGROUP enum

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...