Ent has touched a map trigger.

Well, I have looked around for weeks and I can’t find anything on the wiki to help me with this. I want some kind of function/hook to check if the ent has touched a trigger on the map.

use this




for k,v in pairs(ents.FindInBox( Vector(-32,-32,-32), Vector(32,32,32))) do
print(tostring(v) … " Is Inside The Box")


Do I have to set vectors or can I just check if it is in the trigger that is placed on the map.

Use a ShouldCollide hook, make sure you don’t return anything.