SetEntityCollisionGroup Function

Changes an entity's collision group (CBaseEntity::SetCollisionGroup).

void SetEntityCollisionGroup(int entity, int collisionGroup)

Parameters

int entity

The entity index.

int collisionGroup

Collision group to use.

Errors

Invalid entity or lack of mod support.