diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-01-02 22:23:17 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-01-02 22:23:17 -0500 |
| commit | a7a1e3a2d23e4aa10d874ad1b663d2116c1f62cb (patch) | |
| tree | b7827fb1f060a213534bcb0c6c190dbea04c6567 /gamemode/npcsystem/npcs/zombie.lua | |
| parent | f1e99d19a5aa6e5fa61518366235e3da09689d0b (diff) | |
| download | wintersurvival2-a7a1e3a2d23e4aa10d874ad1b663d2116c1f62cb.tar.gz wintersurvival2-a7a1e3a2d23e4aa10d874ad1b663d2116c1f62cb.tar.bz2 wintersurvival2-a7a1e3a2d23e4aa10d874ad1b663d2116c1f62cb.zip | |
More work on ai overhaul
Diffstat (limited to 'gamemode/npcsystem/npcs/zombie.lua')
| -rw-r--r-- | gamemode/npcsystem/npcs/zombie.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/npcsystem/npcs/zombie.lua b/gamemode/npcsystem/npcs/zombie.lua index 7c598fd..216ca43 100644 --- a/gamemode/npcsystem/npcs/zombie.lua +++ b/gamemode/npcsystem/npcs/zombie.lua @@ -89,7 +89,9 @@ function NPC:AttackPriority(ply) end
--A function that takes a position and returns true if this is an acceptable place to spawn
-NPC.SpawnLocations = nil
+function NPC:SpawnLocations(pos)
+ return true
+end
--The entity that is this npc's current target, if it has one. Nil otherwise
NPC.Target = nil
|
