Oliver wrote:
-- [ Picked text/plain from multipart/alternative ] Thanks for the good suggestions. We are only interested in two types of entities. Is there a way to create a mask that filters out everything except for entities that are class X or class Y?
You could have these entities add themselves to a global linked list when they are created and remove themselves when they are destroyed. Then just loop through your linked list and do the distance calculation yourself instead of having the engine iterate through all entities. -- Jeffrey "botman" Broome _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders