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

