Assuming you are talking about Single player?
1. Make 2 path_corner entities, set the names to walkhere1, walkhere2, then set the "Next Stop Target" field for the walkhere1 corner to walkhere2.
2. Make a NPC_Headcrab Entity, set the name to MyHeadcrab, and the Target pathcorner to walkhere1. Then, Check the Flag "Template NPC", very important.
3. Now, create a
NPC_Template Maker entity somewhere where you want them to come out, they'll drop to the floor by default
Set the Name of Template NPC to "Myheadcrab" or what ever you picked for the name of the NPC_headcrab. it will use the settings from that headcrab, so also the target pathcorners.
Ofcourse, give it a name, incase you want to trigger it on or off.
Set Start Disabled to Yes if you want to trigger it with a trigger once/multiple brush. (trigger brush: make a brush, give it the texture tools/toolstrigger and do "to entity then Trigger_once, just incase :smile: )
Set the Number of NPCs field to the total maximum of NPC this spawner can EVER spawn. (you can later add more, but thats done with an input)
Max live NPC's is the maximum nr of NPC"s that can run around at any one time.
Frequency is the number of NPC it will spawn in one time. (also correctly set the max live NPC's is you make this number higher)
You can give the NPC Children's names/squadname to refer to them, kill them or do something else.
Check out the flags too, they're pretty obvious.
Here's an examplemap on my FTP server
ftp://82.161.83.213/headcrab.vmf
Hope this helps.
Great forum guys, allways liked snarkpit. Even that pesky level :biggrin: