How do I make NPCs follow me?

Basic question really, for example how would I make Barney follow me around?

Would it involve a command or lua or something else?

Thanks.

Any help?

Only certain npcs will follow you. They are rebels, citizens, and refugees. Also if you have downloaded player factions then if your a combine the combine will follow you.

you can use some ent_fire commands to let city scanners follow you, but I believe that that doesn’t work for other npcs

You’ll need to set up NPC relationships with ent_fire commands, I think it’s supposed to be broken in GMod though.

E2 can control NPCs. http://wiki.garrysmod.com/?title=Wire_Expression2#NPC_control