Permalink
Browse files

Fixed stalkers not attacking players

Maybe force all NPCs of same class to same squad?
  • Loading branch information...
1 parent 89ee908 commit 9cfcdd773d5baaefee9c5c0f9eae3ac579d9a289 @robotboy655 robotboy655 committed Apr 11, 2015
Showing with 1 addition and 0 deletions.
  1. +1 −0 garrysmod/lua/autorun/base_npcs.lua
@@ -450,6 +450,7 @@ local NPC = {
Name = "Stalker",
Class = "npc_stalker",
Category = Category,
+ KeyValues = { squadname = "npc_stalker_squad" },
Offset = 10
}
list.Set( "NPC", NPC.Class, NPC )

0 comments on commit 9cfcdd7

Please sign in to comment.