• ents.FindInLine( startpos, endpos, filter )
    1 replies, posted
It would be very useful to add a Lua function, which finds all entities in a line. You can do something similiar with Lua, but it starts lagging after short range. Do you think this would be useful? Thanks in advance, RP-01
I think you tried find-in-cone which may get laggy, yes. Just do a traceline, which creates a new one once it hit's a prop. This "hit prop" has to be put to the ignore-list of that new traceline of course and you have to take care when the trace has to end (Give it a max-size and make it stop once it hit's the world).
Sorry, you need to Log In to post a reply to this thread.