you use findentitiesinsphere (or one of the other findentities functions) to make a list of entities within range, and then you iterate the list and check if they're in Fov. -Tony
On Fri, May 3, 2013 at 3:20 AM, Phlox Icon <[email protected]> wrote: > I've been searching around and discovered that each NPC has a view > cone. I wasn't able to find a function for entities within the view > cone. I came across the Potentially Visible Set ( > https://developer.valvesoftware.com/wiki/PVS ). I'm aware of the > function FInViewCone but this is for testing just one position/entity. > Do I have to build the PVS and test each entity in the PVS with > FInViewCone or is there a better way of doing this? Preferably one > function like my_npc->FindVisibleEntities() or something along those > lines. > > Thanks > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > -- -Tony
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

