Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCSLuaFile()
- ENT.Base = "base_nextbot"
- ENT.Spawnable = true
- function ENT:Initialize()
- self:SetModel( "models/hunter.mdl" )
- self.LoseTargetDist = 2000 -- How far the enemy has to be before we lose them
- self.SearchRadius = 1000 -- How far to search for enemies
- end
- function ENT:OnInjured( injinfo )
- injinfo:GetAttacker() then
- print("I've hurt a bot.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement