Garry's Mod

Garry's Mod

Nextbot Tracer
Code stuff!
Ok I recently downloaded this addon and I couldn't spawn her, so I think she's broken but I would like to know how you made her attack nextbots, I'm currently working on some of them and I would like to know how you did it
Last edited by IvanVladimir0435; 23 Jul, 2018 @ 5:23pm
< >
Showing 1-2 of 2 comments
∩(≡^ω^≡)∩  [developer] 27 May, 2018 @ 9:19pm 
The basic idea of recognizing nextbots is to check
ENT.Type == "nextbot"

You can write something like:
for k, v in pairs(ents.FindInSphere(self:GetPos(), 400)) do if v:IsNPC() or v.Type == "nextbot" then //Stuff for detected NPCs and Nextbots end end
Last edited by ∩(≡^ω^≡)∩; 27 May, 2018 @ 9:19pm
IvanVladimir0435 27 May, 2018 @ 9:27pm 
Originally posted by ∩(≡^ω^≡)∩:
The basic idea of recognizing nextbots is to check
ENT.Type == "nextbot"

You can write something like:
for k, v in pairs(ents.FindInSphere(self:GetPos(), 400)) do if v:IsNPC() or v.Type == "nextbot" then //Stuff for detected NPCs and Nextbots end end
THANK YOU!
< >
Showing 1-2 of 2 comments
Per page: 1530 50