Garry's Mod Wiki

Revision Difference

ENTITY:SetNPCClass#529132

<function name="SetNPCClass" parent="ENTITY" type="classfunc">⤶ <description>Sets the NPC classification. Internally sets the `m_iClass` variable which is polled by the engine. ⤶ ⤶ <note>This is a helper function only available if your SENT is based on `base_ai`</note></description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="classification" type="number">The <page text="CLASS Enum">Enums/CLASS</page></arg>⤶ </args>⤶ </function>⤶ ⤶