local reg = nrequire("sh_npcsystem.lua") local base = nrequire("sh_basenpc.lua") local nextbot = scripted_ents.Get("base_nextbot") local npc = {} npc.Name = "Walkable NPC Base" setmetatable(npc,{__index = function(self,key) return self[key] or base[key] or nextbot[key] end}) function npc:Initalize() if base.Initalize then base.Initalize(self) end if nextbot.Initalize then nextbot.Initalize(self) end print("After initalizeing walkable, self.loco is", self.loco) end function npc:Face(ang_or_vec) print("trying to face:",ang_or_vec,type(ang_or_vec)) end reg.RegisterNPC(npc)