Defining the NPC

From Valve Developer Community
Revision as of 12:04, 8 June 2006 by Ts2do (talk | contribs)
Jump to navigation Jump to search

To start your NPC, you must create a definition for it first.

Copy the file src\dlls\hl2_dll\monster_dummy.cpp to a file related to the classname.

Example: src\dlls\hl2_dll\npc_Barney.cpp

Once you have created the new file, you should remove the enums at the top as well as the references to them in InitCustomSchedules.