From a3a9aa4ba567a42c04adfd790049de8b390ee2d5 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 30 Dec 2015 14:09:16 -0500 Subject: Allowed aidirector to spawn dodos --- gamemode/npcsystem/aidirector.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gamemode/npcsystem/aidirector.lua') diff --git a/gamemode/npcsystem/aidirector.lua b/gamemode/npcsystem/aidirector.lua index d5da7db..f6cd0f9 100644 --- a/gamemode/npcsystem/aidirector.lua +++ b/gamemode/npcsystem/aidirector.lua @@ -1,7 +1,7 @@ --Lol i dunno, spawn some npc's or something -concommand.Add("ws_spawnbird",function(ply, cmd, args) - SpawnNpcByName("Bird",ply:GetPos()) +concommand.Add("ws_spawnzomb",function(ply, cmd, args) + SpawnNpcByName("Zombie",ply:GetPos()) end ) @@ -40,7 +40,7 @@ local traceline = util.TraceLine local contents = util.PointContents local Up = Vector(0,0,1) ---Randomly spawn npc's around? +--Randomly spawn bird npc's around? local Tick = CurTime() hook.Add("Tick","SpawnAmbient",function() if(CLIENT) then return end @@ -71,7 +71,7 @@ hook.Add("Tick","SpawnAmbient",function() local C = contents(Pos) if (C != CONTENTS_WATER and C != CONTENTS_WATER+CONTENTS_TRANSLUCENT) then - print("Appropriate place found, spawning bird)") + --print("Appropriate place found, spawning bird)") SpawnNpcByName("Bird",Pos) break end -- cgit v1.2.3-70-g09d2