I have been creating a section of my level where you can spawn NPC's via buttons, but the NPC's every now and then get out of the confined area I created. I have tried blocking them with a brush textured in the system texture "blocknpc" but they still get out. Does anyone know any way to keep them from leaving the area?
is this for mp or sp?
i think the blocknpc shader you are using uses the surfaceparm "monsterclip" which may not work.
textures/system/blocknpc2
{
surfaceparm donotenter
surfaceparm nodraw
surfaceparm noimpact
surfaceparm nomarks
surfaceparm nonsolid
surfaceparm trans
surfaceparm botclip
qer_trans 0.15
}
You have to use the Do Not Enter shader. A demonstration of this is in the Korriban map that comes with GTK Radiant.