Garry's Mod Wiki

ENTITY:SetNPCClass

  ENTITY:SetNPCClass( number classification )

Description

Sets the NPC classification. Internally sets the m_iClass variable which is polled by the engine.

This is a helper function only available if your SENT is based on base_ai

Arguments

1 number classification